Fix documentation for POSIX semaphores.
authorNathan Bossart <nathan@postgresql.org>
Wed, 5 Jun 2024 20:32:47 +0000 (15:32 -0500)
committerNathan Bossart <nathan@postgresql.org>
Wed, 5 Jun 2024 20:32:47 +0000 (15:32 -0500)
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

doc/src/sgml/runtime.sgml

index 655113fc553c6a77e6b80473dcbd92d40759664a..430a90e9c1a07471fe1f9bc24d9bb4b590090ba8 100644 (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
     same as for System V, that is one semaphore per allowed connection
     (<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"/>).
     On the platforms where this option is preferred, there is no specific
     kernel limit on the number of POSIX semaphores.