RE: SIGTERM -> elog(FATAL) -> proc_exit() is probably a bad idea

Поиск
Список
Период
Сортировка
От Mikheev, Vadim
Тема RE: SIGTERM -> elog(FATAL) -> proc_exit() is probably a bad idea
Дата
Msg-id 8F4C99C66D04D4118F580090272A7A234D3275@sectorbase1.sectorbase.com
обсуждение исходный текст
Ответы RE: SIGTERM -> elog(FATAL) -> proc_exit() is probably a bad idea  ("Hiroshi Inoue" <Inoue@tpf.co.jp>)
Re: SIGTERM -> elog(FATAL) -> proc_exit() is probably a bad idea  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
> I think we'd be lots better off to abandon the notion that we can exit
> directly from the SIGTERM interrupt handler, and instead treat SIGTERM
> the same way we treat QueryCancel: set a flag that is inspected at
> specific places where we know we are in a good state.
> 
> Comments?

This will be much cleaner.

Vadim


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

Предыдущее
От: "Larry Rosenman"
Дата:
Сообщение: RE: CVS updates on committers list...
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: CVS updates on committers list...