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:17:01
Message-ID: 19991203171701B.t-ishii@sra.co.jp
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

> > 2) if it fails to create pid file, call
> > ExitPostmaster(1). ExitPostmaster calls proc_exit() and proc_exit
> > calls exit().
>
> So you don't start if the pid file is there,

Right.

>or do you delete it if the
> port is free?

No. even if the port is free, there might be another postmaster that
uses another one.

Wait, maybe I can check postmaster.opts to see if another postamster
really exists...
--
Tatsuo Ishii

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Magnus Hagander 1999-12-03 08:34:17 RE: [HACKERS] perl-DBD-Pg (was Re: BOUNCE pgsql-ports@postgreSQL .org:Non-member submission from[Joe Brenner <doom@kzsu.stanford.edu>] (f wd))
Previous Message Bruce Momjian 1999-12-03 08:06:56 Re: [HACKERS] postmaster.pid