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:17:01Z
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