Re: [HACKERS] postmaster.pid

Tatsuo Ishii <t-ishii@sra.co.jp>

From: Tatsuo Ishii <t-ishii@sra.co.jp>
To: pgman@candle.pha.pa.us
Cc: pgsql-hackers@postgreSQL.org
Date: 1999-12-03T08:43:51Z
Lists: 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