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

From Magnus Hagander
Subject Re: What is happening on buildfarm member baiji?
Date
Msg-id 20070514135440.GH20472@svr2.hagander.net
Whole thread Raw
In response to Re: What is happening on buildfarm member baiji?  (Andrew Dunstan <andrew@dunslane.net>)
Responses Re: What is happening on buildfarm member baiji?  (Tom Lane <tgl@sss.pgh.pa.us>)
Re: What is happening on buildfarm member baiji?  (Bruce Momjian <bruce@momjian.us>)
List pgsql-hackers
On Mon, May 14, 2007 at 09:34:05AM -0400, Andrew Dunstan wrote:
>
>
> Magnus Hagander wrote:
> >On Mon, May 14, 2007 at 09:02:10AM -0400, Tom Lane wrote:
> >
> >>Magnus Hagander <magnus@hagander.net> writes:
> >>
> >>>If all we want to do is add a check that prevents two servers to start on
> >>>the same port, we could do that trivially in a win32 specific way (since
> >>>we'll never have unix sockets there). Just create an object in the global
> >>>namespace named postgresql.interlock.<portnumber> or such a thing.
> >>>
> >>Does it go away automatically on postmaster crash?
> >>
> >
> >Yes.
> >
> >
> >
>
> Then I think it's worth adding, and I'd argue that as a low risk safety
> measure we should allow it to sneak into 8.3. I'm assuming the code
> involved will be quite small.

Yes, see attached.

BTW, did you mean 8.2? One typical case where this could happen is in an
upgrade scenario, I think...

//Magnus


Attachment

pgsql-hackers by date:

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