Sure enough, the lock file is gone - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Sure enough, the lock file is gone
Date
Msg-id Pine.LNX.4.30.0101262004220.769-100000@peter.localdomain
Whole thread Raw
Responses Re: Sure enough, the lock file is gone  (Bruce Momjian <pgman@candle.pha.pa.us>)
Re: Sure enough, the lock file is gone  (Alfred Perlstein <bright@wintelcom.net>)
Re: Sure enough, the lock file is gone  (Florent Guillaume <efgeor@noos.fr>)
List pgsql-hackers
The 'tmpwatch' program on Red Hat will remove the /tmp/.s.PGSQL.5432.lock
file after the server has run 6 days.  This will be a problem.

We could touch (open) the file once every time the ServerLoop() runs
around.  It's not perfect but it should work in practice.

-- 
Peter Eisentraut      peter_e@gmx.net       http://yi.org/peter-e/



pgsql-hackers by date:

Previous
From: Peter Eisentraut
Date:
Subject: postmaster -S will not print an error if pid file exists
Next
From: Bruce Momjian
Date:
Subject: Re: Sure enough, the lock file is gone