On Sun, 2026-11-01 at 01:56 +0000, Yong Huang wrote: > On Friday, October 30, 2026 at 07:21:41 PM CDT, Michael Paquier > <[email protected]> wrote: > > On Tue, Oct 27, 2026 at 08:56:24PM +0000, PG Doc comments form wrote: > > > On this page, postmaster.pid is said to contain "shared memory segment > > > ID". > > > It would be better to say "shared memory segment key and ID". The second > > > last line has two numbers, which are the shared memory segment key (in > > > decimal instead of hex) and ID, respectively. This can be verified with > > > `ipcs -m'. If you only say "ID", readers may ask, Which one is the ID? > > > > Would you like to write a patch? > > The proposed change is too trivial. I just want to inform the documentation > team. > Most readers won't care anyway. Thank you!
Nothing is too trivial. I do care - here is a patch. Yours, Laurenz Albe
From cac82bc180613f9097e941f4c7a44f09fee419dd Mon Sep 17 00:00:00 2001 From: Laurenz Albe <[email protected]> Date: Sun, 1 Nov 2026 13:42:29 +0100 Subject: [PATCH v1] Improve documentation for postmaster.pid The description mentioned that the file contains the shared memory segment ID, but forgot to mention the shared memory segment key reported on the same line. This could cause confusion. Author: Laurenz Albe <[email protected]> Reported-By: Yong Huang <[email protected]> Discussion: https://postgr.es/m/179313458417.1253.445225696660341760%40wrigleys.postgresql.org --- doc/src/sgml/storage.sgml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/src/sgml/storage.sgml b/doc/src/sgml/storage.sgml index 83de016eaa5..5612e9868a6 100644 --- a/doc/src/sgml/storage.sgml +++ b/doc/src/sgml/storage.sgml @@ -174,7 +174,7 @@ last started with</entry> Unix-domain socket directory path (could be empty), first valid listen_address (IP address or <literal>*</literal>, or empty if not listening on TCP), - and shared memory segment ID + and shared memory segment key and ID (this file is not present after server shutdown)</entry> </row> -- 2.56.0
