Re: [HACKERS] postmaster crash and .s.pgsql file

Поиск
Список
Период
Сортировка
От The Hermit Hacker
Тема Re: [HACKERS] postmaster crash and .s.pgsql file
Дата
Msg-id Pine.BSF.3.96.980126182639.252l-100000@thelab.hub.org
обсуждение исходный текст
Ответ на postmaster crash and .s.pgsql file  (Bruce Momjian <maillist@candle.pha.pa.us>)
Ответы Re: [HACKERS] postmaster crash and .s.pgsql file  (The Hermit Hacker <scrappy@hub.org>)
Список 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 по дате отправления:

Предыдущее
От: darrenk@insightdist.com (Darren King)
Дата:
Сообщение: Re: [HACKERS] Group By, NULL values and inconsistent behaviour.
Следующее
От: Bruce Momjian
Дата:
Сообщение: socket name