forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit47d54b6
committed
AIX: Fix missing libpq symbols by respecting SHLIB_EXPORTS.
We make each AIX shared library export all globals found in .o filesthat originate in the library. That doesn't include symbols acquired by-lpgcommon_shlib. That is good on average, but it became a problem forlibpq when commite6afa89 moved fiveofficial libpq API symbols into src/common. Fix this by implementingthe SHLIB_EXPORTS mechanism for AIX, so affected libraries export thesame symbols that they export on Linux. This reintroduces symbolspg_encoding_to_char, pg_utf_mblen, pg_char_to_encoding,pg_valid_server_encoding, and pg_valid_server_encoding_id. Back-patchto v13, where the aforementioned commit first appeared. While a minorrelease is usually the wrong time to add or remove symbol exports inlibpq or libecpg, we should expect users to want each documented symbol.Tony ReixDiscussion:https://postgr.es/m/PR3PR02MB6396742E2FC3E77D37A920BC86C79@PR3PR02MB6396.eurprd02.prod.outlook.com1 parent599c73a commit47d54b6
2 files changed
+6
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
329 | 329 | | |
330 | 330 | | |
331 | 331 | | |
| 332 | + | |
332 | 333 | | |
| 334 | + | |
| 335 | + | |
| 336 | + | |
333 | 337 | | |
334 | 338 | | |
335 | 339 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
31 | | - | |
32 | | - | |
| 31 | + | |
| 32 | + | |
0 commit comments
Comments
(0)