Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitf7ab802

Browse files
committed
Remove pqsignal() from libpq's official exports list.
Client applications should get this function, if they need it, fromlibpgport.The fact that it's exported from libpq is a hack left over from beforewe set up libpgport. It's never been documented, and there's no goodreason for non-PG code to be calling it anyway, so hopefully this won'tcause any problems. Moreover, with the previous setup it was not realclear whether our clients that use the function were getting it fromlibpgport or libpq, so this might actually prevent problems.The reason for changing it now is that in the wake of commitea53100,some linkers won't export the symbol, apparently because it's coming froma .a library instead of a .o file. We could get around that by continuingto symlink pqsignal.c into libpq as before; but unless somebody complainsvery hard, I don't want to adopt such a kluge.Discussion:https://postgr.es/m/13022.1538003440@sss.pgh.pa.usDiscussion:https://postgr.es/m/E1g5Y8r-0006vs-QA@gemulon.postgresql.org
1 parenta86bf60 commitf7ab802

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎src/interfaces/libpq/exports.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ PQserverVersion 113
116116
PQgetssl 114
117117
pg_char_to_encoding 115
118118
pg_valid_server_encoding 116
119-
pqsignal 117
119+
#pqsignal117 # no longer exported, see libpgport instead
120120
PQprepare 118
121121
PQsendPrepare 119
122122
PQgetCancel 120

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp