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

Matthew Kirkwood <matthew@hairy.beasts.org>

From: Matthew Kirkwood <matthew@hairy.beasts.org>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Igor Kovalenko <Igor.Kovalenko@motorola.com>, mlw <markw@mohawksoft.com>, "Marc G. Fournier" <scrappy@hub.org>, <pgsql-hackers@postgresql.org>
Date: 2002-05-04T09:59:20Z
Lists: pgsql-hackers
On Fri, 3 May 2002, Tom Lane wrote:

> But what we must *not* do is allow a new postmaster to start while the
> old backends are still running; that would mean two sets of backends
> running without contact with each other, which would be fatal for data
> integrity.  The SysV API lets us detect that case, but I don't see any
> equally good way to do it if we are using anonymous shared memory.

It's a hack (and has slight security implications), but you
could just allow the postgres backends to keep the listening
socket(s) open.

Matthew.