Re: How to shoot yourself in the foot: kill -9 postmaster

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: How to shoot yourself in the foot: kill -9 postmaster
Дата
Msg-id 200103060308.WAA21728@candle.pha.pa.us
обсуждение исходный текст
Ответ на Re: How to shoot yourself in the foot: kill -9 postmaster  (Lamar Owen <lamar.owen@wgcr.org>)
Список pgsql-hackers
> Bruce Momjian wrote:
> > This will try a pg_ctl shutdown for 60 seconds, then kill pg_ctl.  You
> > would then need a kill of you own.
> 
> I missed something somehwere: wasn't the consensus a few weeks ago that
> pg_ctl shouldn't be used for a system initscript?  Or did I black out
> that day? :-)  I certainly have no problem using pg_ctl for this purpose
> -- as I have been using pg_ctl to start postmaster all along (then why
> am I not using it to stop -- don't answer that :-))......

I don't remember that discussion.  My guess was that you didn't want
pg_ctl to hang forever.  My script handles that, I think.

--  Bruce Momjian                        |  http://candle.pha.pa.us pgman@candle.pha.pa.us               |  (610)
853-3000+  If your life is a hard drive,     |  830 Blythe Avenue +  Christ can be your backup.        |  Drexel Hill,
Pennsylvania19026
 


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: How to shoot yourself in the foot: kill -9 postmaster
Следующее
От: Tom Lane
Дата:
Сообщение: Re: How to shoot yourself in the foot: kill -9 postmaster