Shridhar Daithankar <shridhar_daithankar@myrealbox.com> writes:
> Tom Lane wrote:
>> And that helps how? The problem is to detect whether there are any
>> children left from the old postmaster, when what you have to work from
>> is the pid-file it left behind.
> fine. We need shared memory for that. How about using 1 8K page just for
> detecting that? We don't need to base shared memory model on that, right?
So why should we depend on two kernel APIs when one is sufficient? You
still haven't pointed to any actual advantage that mmap'ing shared buffers
would offer over allocating them with SysV shmem.
regards, tom lane