Correct the formulas for System V IPC parameters SEMMNI and SEMMNS in docs.
authorFujii Masao <[email protected]>
Tue, 16 Feb 2016 05:59:19 +0000 (14:59 +0900)
committerFujii Masao <[email protected]>
Tue, 16 Feb 2016 05:59:19 +0000 (14:59 +0900)
commit984da963fb450252eb444402a30c7dd0b54e1c69
tree284f227cc02f85f221e56eb28fdfbe7a131e931d
parentbaa7f635367e0e66f8bdb1998fb99d6f47203b1c
Correct the formulas for System V IPC parameters SEMMNI and SEMMNS in docs.

In runtime.sgml, the old formulas for calculating the reasonable
values of SEMMNI and SEMMNS were incorrect. They have forgotten to
count the number of semaphores which both the checkpointer process
(introduced in 9.2) and the background worker processes (introduced
in 9.3) need.

This commit fixes those formulas so that they count the number of
semaphores which the checkpointer process and the background worker
processes need.

Report and patch by Kyotaro Horiguchi. Only the patch for 9.3 was
modified by me. Back-patch to 9.2 where the checkpointer process was
added and the number of needed semaphores was increased.

Author: Kyotaro Horiguchi
Reviewed-by: Fujii Masao
Backpatch: 9.2
Discussion: http://www.postgresql.org/message-id/20160203.125119.66820697[email protected]
doc/src/sgml/runtime.sgml