Re: Back-patch use of unnamed POSIX semaphores for Linux?
Michael Paquier <michael.paquier@gmail.com>
From: Michael Paquier <michael.paquier@gmail.com>
To: Robert Haas <robertmhaas@gmail.com>
Cc: Tom Lane <tgl@sss.pgh.pa.us>, "pgsql-hackers@postgresql.org" <pgsql-hackers@postgresql.org>
Date: 2016-12-07T04:57:05Z
Lists: pgsql-hackers
On Wed, Dec 7, 2016 at 1:43 PM, Robert Haas <robertmhaas@gmail.com> wrote: > Urk. That sounds like a scary thing to back-patch. The fact that the > buildfarm has reported no problems is good as far as it goes, but user > environments can be expected to be considerably more diverse than the > buildfarm. I wouldn't mind giving users the option to select unnamed > POSIX semas, but I don't think there's any guarantee that that's 100% > certain to work every place where the current implementation works - > and if not, then people will upgrade to the latest minor release and > everything will completely stop working. Potential risks involving minor upgrades are far higher than the risks involved by systemd, so -1 for a backpatch seen from here. -- Michael
Commits
-
Make the different Unix-y semaphore implementations ABI-compatible.
- be7b2848c6d8 10.0 landed
-
Use unnamed POSIX semaphores, if available, on Linux and FreeBSD.
- ecb0d20a9d2e 10.0 cited