Re: FW: Win32 fix for miscinit.c

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Dave Page" <dpage(at)vale-housing(dot)co(dot)uk>
Cc: "PostgreSQL-patches" <pgsql-patches(at)postgresql(dot)org>
Subject: Re: FW: Win32 fix for miscinit.c
Date: 2004-10-04 14:56:26
Message-ID: 21906.1096901786@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-patches

"Dave Page" <dpage(at)vale-housing(dot)co(dot)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

In response to

Browse pgsql-patches by date

  From Date Subject
Next Message Magnus Hagander 2004-10-04 14:58:24 Re: FW: Win32 fix for miscinit.c
Previous Message Peter Eisentraut 2004-10-04 14:11:39 Re: license cleanup