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

From Ross J. Reedstrom
Subject Re: Sure enough, the lock file is gone
Date
Msg-id 20010126142434.A24790@rice.edu
Whole thread Raw
In response to Re: Sure enough, the lock file is gone  (Bruce Momjian <pgman@candle.pha.pa.us>)
Responses Re: Sure enough, the lock file is gone
Re: Sure enough, the lock file is gone
List pgsql-hackers
On Fri, Jan 26, 2001 at 03:18:13PM -0500, Bruce Momjian wrote:
> > 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.
> 
> If we have to do it, let's make it an #ifdef __linux__ option.

#ifdef BRAINDAMAGED_TMP_CLEANER ?

ISTR mention of non-linux platforms that do this.

Ross


pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: Re: [JDBC] Open 7.1 items
Next
From: Bruce Momjian
Date:
Subject: Re: This script will crash the connection