Re: HEADS UP: Win32/OS2/BeOS native ports

From: "Marc G(dot) Fournier" <scrappy(at)hub(dot)org>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Matthew Kirkwood <matthew(at)hairy(dot)beasts(dot)org>, Igor Kovalenko <Igor(dot)Kovalenko(at)motorola(dot)com>, mlw <markw(at)mohawksoft(dot)com>, <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: HEADS UP: Win32/OS2/BeOS native ports
Date: 2002-05-06 13:43:15
Message-ID: 20020506104210.E32524-100000@mail1.hub.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Mon, 6 May 2002, Tom Lane wrote:

> "Marc G. Fournier" <scrappy(at)hub(dot)org> writes:
> >> We could get around this, of course: record the port number in the data
> >> directory lockfile, and test for existence of the old socket
> >> independently of trying to create a new one. But it seems ugly.
>
> > How about a second, data directory based socket simply named something
> > like '.inuse', that is not port dependent?
>
> Hmm ... but how do you use that to tell if there are still backends
> around?

As a backend is started up, connect to that socket ... if socket is open
when trying to start a new frontend, fail as there are currently other
connections attached to it?

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2002-05-06 14:17:43 Re: HEADS UP: Win32/OS2/BeOS native ports
Previous Message Tom Lane 2002-05-06 13:40:36 Re: HEADS UP: Win32/OS2/BeOS native ports