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

Поиск
Список
Период
Сортировка
От Hiroshi Inoue
Тема RE: SIGTERM -> elog(FATAL) -> proc_exit() is probably a bad idea
Дата
Msg-id EKEJJICOHDIEMGPNIFIJEEMKDEAA.Inoue@tpf.co.jp
обсуждение исходный текст
Ответ на SIGTERM -> elog(FATAL) -> proc_exit() is probably a bad idea  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: SIGTERM -> elog(FATAL) -> proc_exit() is probably a bad idea  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
> -----Original Message-----
> From: Tom Lane
> 
> I have just finished trudging through a bunch of code and trying to make
> it secure against being interrupted by die() at arbitrary instants.

It seems that START/END_CRIT_SECTION() is called in both
existent and newly added places.
Isn't it appropriate to call a diffrent macro using a separate 
CriticalSectionCount variable in newly added places ?

Regards.
Hiroshi Inoue


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

Предыдущее
От: Lamar Owen
Дата:
Сообщение: RPMS for 7.1beta3 in progress.
Следующее
От: Oleg Bartunov
Дата:
Сообщение: R-Tree implementation using GiST