Re: [HACKERS] postmaster.pid

Поиск
Список
Период
Сортировка
От Tatsuo Ishii
Тема Re: [HACKERS] postmaster.pid
Дата
Msg-id 19991203171701B.t-ishii@sra.co.jp
обсуждение исходный текст
Ответ на Re: [HACKERS] postmaster.pid  (Bruce Momjian <pgman@candle.pha.pa.us>)
Ответы Re: [HACKERS] postmaster.pid  (Bruce Momjian <pgman@candle.pha.pa.us>)
Список 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



В списке pgsql-hackers по дате отправления:

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: [HACKERS] postmaster.pid
Следующее
От: Magnus Hagander
Дата:
Сообщение: RE: [HACKERS] perl-DBD-Pg (was Re: BOUNCE pgsql-ports@postgreSQL .org:Non-member submission from[Joe Brenner ] (f wd))