Re: [HACKERS] postmaster.pid - Mailing list pgsql-hackers

From Tatsuo Ishii
Subject Re: [HACKERS] postmaster.pid
Date
Msg-id 19991204114131G.t-ishii@sra.co.jp
Whole thread Raw
In response to Re: [HACKERS] postmaster.pid  (Evan Simpson <evan@4-am.com>)
List pgsql-hackers
> Do you just test to see if the file exists?  If so, I would suggest
> actually reading the pid and checking to see if the process is still
> running.  That way we don't have to 'rm postmaster.pid' if the postmaster
> dies abnormally (Netscape for Linux has this problem).

Thanks for the suggestion. I have already modified postmaster.c so
that it could remove postmaster.pid if the file is bogus. Will commit
soon.
--
Tatsuo Ishii



pgsql-hackers by date:

Previous
From: Tatsuo Ishii
Date:
Subject: Re: [HACKERS] postmaster.pid
Next
From: Tatsuo Ishii
Date:
Subject: Re: [HACKERS] postmaster.pid