From 09d7caad32d8d6987964a85ff71d12f18f63f43f Mon Sep 17 00:00:00 2001
From: Nathan Bossart
Date: Mon, 3 Jun 2024 12:10:43 -0500
Subject: 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
---
doc/src/sgml/runtime.sgml | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/doc/src/sgml/runtime.sgml b/doc/src/sgml/runtime.sgml
index ac4934608c3..2f660e288e0 100644
--- a/doc/src/sgml/runtime.sgml
+++ b/doc/src/sgml/runtime.sgml
@@ -812,7 +812,8 @@ psql: could not connect to server: No such file or directory
When using System V semaphores,
PostgreSQL uses one semaphore per allowed connection
(), allowed autovacuum worker process
- () and allowed background
+ (), allowed WAL sender process
+ (), and allowed background
process (), in sets of 16.
Each such set will
also contain a 17th semaphore which contains a magic
--
cgit v1.2.3