Re: What is happening on buildfarm member baiji? - Mailing list pgsql-hackers

From Tom Lane
Subject Re: What is happening on buildfarm member baiji?
Date
Msg-id 8696.1179147054@sss.pgh.pa.us
Whole thread Raw
In response to Re: What is happening on buildfarm member baiji?  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: What is happening on buildfarm member baiji?  (Magnus Hagander <magnus@hagander.net>)
Re: What is happening on buildfarm member baiji?  (Stephen Frost <sfrost@snowman.net>)
Re: What is happening on buildfarm member baiji?  (Gregory Stark <stark@enterprisedb.com>)
List pgsql-hackers
I wrote:
> Uh ... so the lock-file stuff is completely broken on Windows?

Not so much broken as commented out ... on looking at the code, it's
blindingly obvious that we don't even try to create a socket lock file
if not HAVE_UNIX_SOCKETS.  Sigh.

There is a related risk even on Unix machines: two postmasters can be
started on the same port number if they have different settings of
unix_socket_directory, and then it's indeterminate which one you will
contact if you connect to the TCP port.  I seem to recall that we
discussed this several years ago, and didn't really find a satisfactory
way of interlocking the TCP port per se.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Dave Page
Date:
Subject: Re: What is happening on buildfarm member baiji?
Next
From: Magnus Hagander
Date:
Subject: Re: What is happening on buildfarm member baiji?