Re: pgsql: Remove pqsignal() from libpq's official exports list.
Michael Paquier <michael@paquier.xyz>
From: Michael Paquier <michael@paquier.xyz>
To: Stephen Frost <sfrost@snowman.net>
Cc: Christoph Berg <myon@debian.org>, Tom Lane <tgl@sss.pgh.pa.us>, PostgreSQL Hackers <pgsql-hackers@postgresql.org>
Date: 2019-10-10T03:56:35Z
Lists: pgsql-hackers
On Wed, Oct 09, 2019 at 09:37:34AM -0400, Stephen Frost wrote: > Yes, this is absolutely the right answer, we shouldn't be removing > symbols without an SONAME bump. If we don't want to bump the SONAME, > then don't remove the symbol. This is utterly basic proper library > maintenance and it isn't appropriate to argue that it's about "well, > your old apps shouldn't exist" because it's blatently our fault for not > bumping the SONAME, no matter how old the apps are. +1. If we were to bump the SONAME, more cleanup could be actually done, and I got some pushback not long ago regarding some undocumented APIs in libpq that we still ship for the exact same reasons: https://www.postgresql.org/message-id/7990.1565550764@sss.pgh.pa.us -- Michael
Commits
-
Put back pqsignal() as an exported libpq symbol.
- 7ed1bcaed6ec 12.1 landed
- 06a367c382d0 13.0 landed
-
Remove pqsignal() from libpq's official exports list.
- f7ab80285520 12.0 cited
-
Build src/port files as a library with -fPIC, and use that in libpq.
- ea53100d5671 12.0 cited
-
Use SA_RESTART for all signals, including SIGALRM.
- 873ab97219ca 9.4.0 cited
-
Move pqsignal() to libpgport.
- da5aeccf64b3 9.3.0 cited