Skip to content

Commit 1d5c5ae

Browse files
Fix documentation for System V semaphores.
The formulas for SEMMNI and SEMMNS do not include the archiver process, which was converted to an auxiliary process in v14, and the WAL summarizer process, which was introduced in v17. This commit corrects these formulas and adds a missing reference to max_wal_senders nearby. Since this section of the documentation tends to be incorrect quite often, we should likely give up on documenting the exact formulas in favor of something less fragile, but that is left as a future exercise. Reported-by: Sami Imseih Reviewed-by: Sami Imseih Discussion: https://postgr.es/m/20240517164452.GA1914161%40nathanxps13 Backpatch-through: 12
1 parent 2e062b6 commit 1d5c5ae

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

doc/src/sgml/runtime.sgml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -836,7 +836,8 @@ psql: could not connect to server: No such file or directory
836836
When using System V semaphores,
837837
<productname>PostgreSQL</productname> uses one semaphore per allowed connection
838838
(<xref linkend="guc-max-connections"/>), allowed autovacuum worker process
839-
(<xref linkend="guc-autovacuum-max-workers"/>) and allowed background
839+
(<xref linkend="guc-autovacuum-max-workers"/>), allowed WAL sender process
840+
(<xref linkend="guc-max-wal-senders"/>), and allowed background
840841
process (<xref linkend="guc-max-worker-processes"/>), in sets of 16.
841842
Each such set will
842843
also contain a 17th semaphore which contains a <quote>magic

0 commit comments

Comments
 (0)