Re: Win32 question: getppid() with no paren t?

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Claudio Natoli <claudio(dot)natoli(at)memetrics(dot)com>
Cc: Magnus Hagander <mha(at)sollentuna(dot)net>, PgSql-Win32 <pgsql-hackers-win32(at)postgresql(dot)org>
Subject: Re: Win32 question: getppid() with no paren t?
Date: 2004-05-30 03:54:07
Message-ID: 12063.1085889247@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers-win32

Claudio Natoli <claudio(dot)natoli(at)memetrics(dot)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

In response to

Browse pgsql-hackers-win32 by date

  From Date Subject
Next Message Thomas Kellerer 2004-06-01 06:51:37 Re: registry vs. environment (was re:binary
Previous Message Claudio Natoli 2004-05-30 02:17:44 Re: Win32 question: getppid() with no paren