postgresql/src/template
Tom Lane 0123ce131f Switch the semaphore API on Solaris to unnamed POSIX.
Solaris descendants (Illumos, OpenIndiana, OmniOS, etc.) hit System V
semaphore limits ("No space left on device" from semget) when running
many parallel test scripts under default system settings.  We could
tell people to raise those settings, but there's a better answer.
Unnamed POSIX semaphores have been available on Solaris for decades
and work well, so prefer them, as was recently done for AIX.

This patch also updates the documentation to remove now-unnecessary
advice about raising project.max-sem-ids and project.max-msg-ids.

Author: Tom Lane <tgl@sss.pgh.pa.us>
Reviewed-by: Greg Burd <greg@burd.me>
Discussion: https://postgr.es/m/470305.1772417108@sss.pgh.pa.us
2026-03-14 14:10:32 -04:00
..
aix Restore AIX support. 2026-02-23 13:34:22 -05:00
cygwin Use unnamed POSIX semaphores on Cygwin. 2023-01-06 10:33:28 +13:00
darwin Move darwin sysroot determination into separate file 2022-09-01 16:54:19 -07:00
freebsd Select CFLAGS_SL at configure time, not in platform-specific Makefiles. 2019-10-21 12:32:35 -04:00
linux Remove traces of support for Sun Studio compiler 2025-09-12 07:39:05 +02:00
netbsd On NetBSD, force dynamic symbol resolution at postmaster start. 2022-08-30 17:28:37 -04:00
openbsd Select CFLAGS_SL at configure time, not in platform-specific Makefiles. 2019-10-21 12:32:35 -04:00
solaris Switch the semaphore API on Solaris to unnamed POSIX. 2026-03-14 14:10:32 -04:00
win32 thread-safety: gmtime_r(), localtime_r() 2024-08-23 07:43:04 +02:00