Re: [HACKERS] postmaster.pid

From: Tatsuo Ishii <t-ishii(at)sra(dot)co(dot)jp>
To: pgman(at)candle(dot)pha(dot)pa(dot)us
Cc: pgsql-hackers(at)postgreSQL(dot)org
Subject: Re: [HACKERS] postmaster.pid
Date: 1999-12-03 08:43:51
Message-ID: 19991203174351M.t-ishii@sra.co.jp
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Karel Zak - Zakkr 1999-12-03 12:23:17 Datetime operators (was: Re: [SQL] Another Date question)
Previous Message Bruce Momjian 1999-12-03 08:38:02 Re: [HACKERS] postmaster.pid