Skip site navigation (1) Skip section navigation (2)

Peripheral Links

Header And Logo

PostgreSQL
| The world's most advanced open source database.

Site Navigation

Search for
  Advanced Search

Re: Win32 question: getppid() with no parent?


  • From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
  • To: "Magnus Hagander" <mha(at)sollentuna(dot)net>
  • Cc: "PgSql-Win32" <pgsql-hackers-win32(at)postgresql(dot)org>
  • Subject: Re: Win32 question: getppid() with no parent?
  • Date: Thu, 27 May 2004 14:04:52 -0400
  • Message-id: <15401(dot)1085681092(at)sss(dot)pgh(dot)pa(dot)us>

"Magnus Hagander" <mha(at)sollentuna(dot)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



Home | Main Index | Thread Index

Privacy Policy | PostgreSQL Archives hosted by Command Prompt, Inc. | Designed by tinysofa
Copyright © 1996 – 2008 PostgreSQL Global Development Group