| From: | Bruce Momjian <bruce(at)momjian(dot)us> |
|---|---|
| To: | Magnus Hagander <magnus(at)hagander(dot)net> |
| Cc: | Andrew Dunstan <andrew(at)dunslane(dot)net>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Dave Page <dpage(at)postgresql(dot)org>, pgsql-hackers(at)postgresql(dot)org |
| Subject: | Re: What is happening on buildfarm member baiji? |
| Date: | 2007-05-17 23:17:42 |
| Message-ID: | 200705172317.l4HNHgL05122@momjian.us |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers |
Are we going to apply this? I would also like to see a comment added on
why we use SO_REUSEADDR.
---------------------------------------------------------------------------
Magnus Hagander wrote:
> 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(at)hagander(dot)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, skipping... ]
>
> ---------------------------(end of broadcast)---------------------------
> TIP 6: explain analyze is your friend
--
Bruce Momjian <bruce(at)momjian(dot)us> http://momjian.us
EnterpriseDB http://www.enterprisedb.com
+ If your life is a hard drive, Christ can be your backup. +
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Tom Lane | 2007-05-17 23:45:50 | Re: UTF8MatchText |
| Previous Message | Bruce Momjian | 2007-05-17 22:47:50 | Re: Automatic adjustment of bgwriter_lru_maxpages |