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

From Tom Lane
Subject Re: Win32 question: getppid() with no parent?
Date
Msg-id 15401.1085681092@sss.pgh.pa.us
Whole thread Raw
In response to Re: Win32 question: getppid() with no parent?  ("Magnus Hagander" <mha@sollentuna.net>)
List pgsql-hackers-win32
"Magnus Hagander" <mha@sollentuna.net> writes:
> Question though - we keep a PostmasterPid variable, right?

Yeah we do; we must have it to signal the postmaster from the children.

> (If we can't rely on that variable, we could do a win32 specific hack
> that passes the HANDLE of the postmaster down to the child on exec, I
> guess.)

Is this just like passing a variable value, or is there some more
protection involved?

            regards, tom lane

pgsql-hackers-win32 by date:

Previous
From: "Magnus Hagander"
Date:
Subject: Re: Win32 question: getppid() with no parent?
Next
From: Bruce Momjian
Date:
Subject: Re: Win32 question: getppid() with no parent?