Re: FW: Win32 fix for miscinit.c - Mailing list pgsql-patches

From Tom Lane
Subject Re: FW: Win32 fix for miscinit.c
Date
Msg-id 21906.1096901786@sss.pgh.pa.us
Whole thread Raw
In response to FW: Win32 fix for miscinit.c  ("Dave Page" <dpage@vale-housing.co.uk>)
List pgsql-patches
"Dave Page" <dpage@vale-housing.co.uk> writes:
>> Tom's recent patch to improve stale lockfile detection
>> included a call to getppid() which doesn't exist on Windows.
>> There is no clean way to implement one (previously discussed
>> on hackers-win32) hence the attach patch simply #ifdefs out the call.

Done.  I think this is no real problem for Windows, since its
implementation of the kill(pid,0) check is not going to be fooled
by parent processes anyway.

            regards, tom lane

pgsql-patches by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: license cleanup
Next
From: "Magnus Hagander"
Date:
Subject: Re: FW: Win32 fix for miscinit.c