Re: [HACKERS] postmaster.pid
Tatsuo Ishii <t-ishii@sra.co.jp>
From: Tatsuo Ishii <t-ishii@sra.co.jp>
To: evan@4-am.com
Cc: pgsql-hackers@postgreSQL.org
Date: 1999-12-04T02:41:31Z
Lists: 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