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 883a849e6f52d7c9d257c9f6ac0df1a7d6ea063c..2f7c61888691cefb9f99587232fe421826c1c2a1 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.