"Igor Kovalenko" <Igor.Kovalenko@motorola.com> writes:
>> Could we get away with saying that the Unix-socket-less platforms have
>> weaker protection against mistakenly restarting the postmaster?
> Why can't we use named pipe (aka FIFO file) instead of UDS?
That's exactly what I'm talking about.
> Another thought is, why can't we use bind() to the postmaster port to detect
> other postmasters?
Because port number and data directory are independent parameters. The
interlock on port number is not related to the interlock on data
directory.
regards, tom lane