Re: [HACKERS] postmaster.pid

From: Tatsuo Ishii <t-ishii(at)sra(dot)co(dot)jp>
To: evan(at)4-am(dot)com
Cc: pgsql-hackers(at)postgreSQL(dot)org
Subject: Re: [HACKERS] postmaster.pid
Date: 1999-12-04 02:41:31
Message-ID: 19991204114131G.t-ishii@sra.co.jp
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Tatsuo Ishii 1999-12-04 03:02:34 Re: [HACKERS] postmaster.pid
Previous Message Tatsuo Ishii 1999-12-04 02:37:27 Re: [HACKERS] postmaster.pid