Fix documentation for POSIX semaphores.

The documentation for POSIX semaphores is missing a reference to
max_wal_senders.  This commit fixes that in the same way that
commit 4ebe51a5fb fixed the same issue in the documentation for
System V semaphores.

Discussion: https://postgr.es/m/20240517164452.GA1914161%40nathanxps13
Backpatch-through: 12
This commit is contained in:
Nathan Bossart 2024-06-05 15:32:47 -05:00
parent b6dbbaa302
commit 8111e80c5d
1 changed files with 2 additions and 1 deletions

View File

@ -884,7 +884,8 @@ psql: error: connection to server on socket "/tmp/.s.PGSQL.5432" failed: No such
When using POSIX semaphores, the number of semaphores needed is the When using POSIX semaphores, the number of semaphores needed is the
same as for System V, that is one semaphore per allowed connection same as for System V, that is one semaphore per allowed connection
(<xref linkend="guc-max-connections"/>), allowed autovacuum worker process (<xref linkend="guc-max-connections"/>), allowed autovacuum worker process
(<xref linkend="guc-autovacuum-max-workers"/>) and allowed background (<xref linkend="guc-autovacuum-max-workers"/>), allowed WAL sender process
(<xref linkend="guc-max-wal-senders"/>), and allowed background
process (<xref linkend="guc-max-worker-processes"/>). process (<xref linkend="guc-max-worker-processes"/>).
On the platforms where this option is preferred, there is no specific On the platforms where this option is preferred, there is no specific
kernel limit on the number of POSIX semaphores. kernel limit on the number of POSIX semaphores.