forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit06a367c
committed
Put back pqsignal() as an exported libpq symbol.
This reverts commitf7ab802. Per discussion, we can't remove anexported symbol without a SONAME bump, which we don't want to do.In particular that breaks usage of current libpq.so with pre-9.3versions of psql etc, which need libpq to export pqsignal().As noted in that commit message, exporting the symbol from libpgport.awon't work reliably; but actually we don't want to export src/port'simplementation anyway. Any pre-9.3 client is going to be expecting thedefinition that pqsignal() had before 9.3, which was that it didn'tset SA_RESTART for SIGALRM. Hence, put back pqsignal() in a separatesource file in src/interfaces/libpq, and give it the old semantics.Back-patch to v12.Discussion:https://postgr.es/m/E1g5vmT-0003K1-6S@gemulon.postgresql.org1 parent3b5d372 commit06a367c
3 files changed
+59
-2
lines changedLines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
29 | 29 |
| |
30 | 30 |
| |
31 | 31 |
| |
32 |
| - | |
| 32 | + | |
33 | 33 |
| |
34 | 34 |
| |
35 | 35 |
| |
|
Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
116 | 116 |
| |
117 | 117 |
| |
118 | 118 |
| |
119 |
| - | |
| 119 | + | |
120 | 120 |
| |
121 | 121 |
| |
122 | 122 |
| |
|
Lines changed: 57 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + |
0 commit comments
Comments
(0)