Re: [pgsql-hackers-win32] postmaster.pid - Mailing list pgsql-patches

From Dave Page
Subject Re: [pgsql-hackers-win32] postmaster.pid
Date
Msg-id E7F85A1B5FF8D44C8A1AF6885BC9A0E41A78DC@ratbert.vale-housing.co.uk
Whole thread Raw
List pgsql-patches

> -----Original Message-----
> From: Tom Lane [mailto:tgl@sss.pgh.pa.us]
> Sent: 26 August 2004 16:24
> To: Dave Page
> Cc: Andrew Dunstan; Magnus Hagander;
> pgsql-hackers-win32@postgresql.org; PostgreSQL-patches
> Subject: Re: [PATCHES] [pgsql-hackers-win32] postmaster.pid
>
> "Dave Page" <dpage@vale-housing.co.uk> writes:
> >> ISTM we should not ever queue any event for signal 0.
>
> > That was my original intention, however Magnus thought it
> best just to
> > let it be queued and subsequently ignored by the backend - thinking
> > about it 15 minutes later I can't for the life of me think
> why that's
> > any better...
>
> Are there any error cases that we would miss detecting if it
> didn't go that far?

None that I can think of. If we managed to open the pipe and get the
zero back, then we've proved the process is there and is postgres.

Regards Dave.

pgsql-patches by date:

Previous
From: Johannes Weberhofer
Date:
Subject: Backported the very useful oracle_compat.c from postgres 8.0 beta to 7.4.5
Next
From: Bruce Momjian
Date:
Subject: Re: [HACKERS] pg_hba.conf and IP-MASK