Re: [HACKERS] postmaster crash and .s.pgsql file - Mailing list pgsql-hackers

From The Hermit Hacker
Subject Re: [HACKERS] postmaster crash and .s.pgsql file
Date
Msg-id Pine.BSF.3.96.980126182639.252l-100000@thelab.hub.org
Whole thread Raw
In response to postmaster crash and .s.pgsql file  (Bruce Momjian <maillist@candle.pha.pa.us>)
Responses Re: [HACKERS] postmaster crash and .s.pgsql file
List pgsql-hackers
On Mon, 26 Jan 1998, Bruce Momjian wrote:

>
> When the postmaster crashes, it leaves the /tmp/.s.pgsql file in /tmp.
> Is there a way to auto-remove it after a postmaster crash?

    If we wrote the process id to the file, if the file existed, we
could read the process id and do a 'kill(pid, 0)', it "determines if a
specific process still exists"...

    I'll try and look at it tonight, along with syslog() logging

Marc G. Fournier
Systems Administrator @ hub.org
primary: scrappy@hub.org           secondary: scrappy@{freebsd|postgresql}.org


pgsql-hackers by date:

Previous
From: darrenk@insightdist.com (Darren King)
Date:
Subject: Re: [HACKERS] Group By, NULL values and inconsistent behaviour.
Next
From: Bruce Momjian
Date:
Subject: socket name