summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNathan Bossart2024-06-03 17:10:43 +0000
committerNathan Bossart2024-06-03 17:10:43 +0000
commit1d5c5ae8e5557cfb974c290693802d8ebece25ac (patch)
tree401faa015d5d38d410a2686e5d066e39a3b5d048
parent2e062b65539ea9f85cf591ffbc4cd2db30bf5f51 (diff)
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
-rw-r--r--doc/src/sgml/runtime.sgml3
1 files changed, 2 insertions, 1 deletions
diff --git a/doc/src/sgml/runtime.sgml b/doc/src/sgml/runtime.sgml
index fc6e48427ed..c2cdde77f31 100644
--- a/doc/src/sgml/runtime.sgml
+++ b/doc/src/sgml/runtime.sgml
@@ -836,7 +836,8 @@ psql: could not connect to server: No such file or directory
When using System V semaphores,
<productname>PostgreSQL</productname> uses 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"/>), in sets of 16.
Each such set will
also contain a 17th semaphore which contains a <quote>magic