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

Tom Lane <tgl@sss.pgh.pa.us>

From: Tom Lane <tgl@sss.pgh.pa.us>
To: "Marc G. Fournier" <scrappy@hub.org>
Cc: Matthew Kirkwood <matthew@hairy.beasts.org>, Igor Kovalenko <Igor.Kovalenko@motorola.com>, mlw <markw@mohawksoft.com>, pgsql-hackers@postgresql.org
Date: 2002-05-06T13:40:36Z
Lists: pgsql-hackers
"Marc G. Fournier" <scrappy@hub.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?

			regards, tom lane