Re: postmaster.pid also contains shared memory key

From: Laurenz Albe <laurenz(dot)albe(at)cybertec(dot)at>
To: Yong Huang <yong321(at)yahoo(dot)com>, pgsql-docs(at)lists(dot)postgresql(dot)org, Michael Paquier <michael(at)paquier(dot)xyz>
Subject: Re: postmaster.pid also contains shared memory key
Date: 2026-11-01 12:44:00
Message-ID: 753efd2b298df13383b4c57a57d965baac64aae7.camel@cybertec.at
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-docs

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 <michael(at)paquier(dot)xyz> 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

Attachment Content-Type Size
v1-0001-Improve-documentation-for-postmaster.pid.patch text/x-patch 1.2 KB

In response to

Responses

Browse pgsql-docs by date

  From Date Subject
Next Message Fujii Masao 2026-11-01 15:35:50 Re: routine_sequence_usage column is named sequence_catalog, not schema_catalog
Previous Message Yong Huang 2026-11-01 01:56:52 Re: postmaster.pid also contains shared memory key