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

Re: FW: Win32 fix for miscinit.c

From: Andrew Dunstan <andrew(at)dunslane(dot)net>
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:04:35
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-patches
Ugh. *sigh*

I wondered idly if we might be able to make a safe assumption about the 
staleness of the lockfile based on (possibly not very portably) 
comparing its mtime with the system boot time.



Dave Page wrote:

>More haste, less speed...
>Patch attached this time!
>>-----Original Message-----
>>From: Dave Page 
>>Sent: 04 October 2004 14:41
>>To: PostgreSQL-patches
>>Subject: Win32 fix for miscinit.c
>>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.
>>Please apply ASAP as the win32 build is currently broken.
>>Regards, Dave
>---------------------------(end of broadcast)---------------------------
>TIP 3: if posting/reading through Usenet, please send an appropriate
>      subscribe-nomail command to majordomo(at)postgresql(dot)org so that your
>      message can get through to the mailing list cleanly

In response to

pgsql-patches by date

Next:From: Peter EisentrautDate: 2004-10-04 14:11:39
Subject: Re: license cleanup
Previous:From: Bruce MomjianDate: 2004-10-04 13:45:14
Subject: Make libpgport FRONTEND/no-FRONTEND library versions

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group