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

From Tatsuo Ishii
Subject Re: [HACKERS] postmaster.pid
Date
Msg-id 19991203174351M.t-ishii@sra.co.jp
Whole thread Raw
In response to Re: [HACKERS] postmaster.pid  (Bruce Momjian <pgman@candle.pha.pa.us>)
List pgsql-hackers
> > Wait, maybe I can check postmaster.opts to see if another postamster
> > really exists...
> 
> You can do kill(0) on the pid to see if it is actually a real pid. 
> Rather than playing with the port, just check the pid because the
> postmaster could be startup up by not on the port yet.

Oh, I see your point now.
--
Tatsuo Ishii


pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: [HACKERS] postmaster.pid
Next
From: Karel Zak - Zakkr
Date:
Subject: Datetime operators (was: Re: [SQL] Another Date question)