Re: postmaster.pid also contains shared memory key

From: Daniel Gustafsson <daniel(at)yesql(dot)se>
To: Laurenz Albe <laurenz(dot)albe(at)cybertec(dot)at>
Cc: 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 19:16:05
Message-ID: 0E3C7644-8184-4515-8C0A-139A87E22758@yesql.se
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-docs

> On 1 Nov 2026, at 13:44, Laurenz Albe <laurenz(dot)albe(at)cybertec(dot)at> wrote:
>
> 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.

Pushed, thanks.

--
Daniel Gustafsson

In response to

Responses

Browse pgsql-docs by date

  From Date Subject
Next Message Fujii Masao 2026-11-02 00:21:34 Re: postmaster.pid also contains shared memory key
Previous Message Fujii Masao 2026-11-01 17:50:56 Re: Documented parameter names differ from callable proargnames for several built-ins