]> granicus.if.org Git - postgresql/commit
Correct the formulas for System V IPC parameters SEMMNI and SEMMNS in docs.
authorFujii Masao <fujii@postgresql.org>
Tue, 16 Feb 2016 05:49:47 +0000 (14:49 +0900)
committerFujii Masao <fujii@postgresql.org>
Tue, 16 Feb 2016 05:58:09 +0000 (14:58 +0900)
commit177ff78ddb11de94d653e4b3a93c16358b32af2d
tree9760409c5428d8651a6903b9d7ba7ca4d28276dc
parent73ca21c7ac2aa44f88b6ddb4cc4fc43cb2067e5e
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.horiguchi.kyotaro@lab.ntt.co.jp
doc/src/sgml/runtime.sgml