Re: Win32 question: getppid() with no paren t? - Mailing list pgsql-hackers-win32

From Tom Lane
Subject Re: Win32 question: getppid() with no paren t?
Date
Msg-id 12063.1085889247@sss.pgh.pa.us
Whole thread Raw
In response to Re: Win32 question: getppid() with no paren  (Claudio Natoli <claudio.natoli@memetrics.com>)
List pgsql-hackers-win32
Claudio Natoli <claudio.natoli@memetrics.com> writes:
> Tom Lane wrote:
>> Great.  Could I get someone to implement this now?

> Here you go.

Applied, thanks.

> If there is a better place to put the PostmasterHandle, please
> do so by all means.

I thought it was okay there, but should be declared in postmaster.h;
I dislike externs in .c files, because there's no chance of the compiler
catching discrepancies.

>  Also, could enable it for EXEC_BACKEND, instead of for
> WIN32,

Not unless HANDLE is a typedef of wider currency than I thought...

            regards, tom lane

pgsql-hackers-win32 by date:

Previous
From: Claudio Natoli
Date:
Subject: Re: Win32 question: getppid() with no paren
Next
From: Thomas Kellerer
Date:
Subject: Re: registry vs. environment (was re:binary