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

Поиск
Список
Период
Сортировка
От Thomas Swan
Тема Re: SIGTERM -> elog(FATAL) -> proc_exit() is probably a bad idea
Дата
Msg-id 5.0.2.1.0.20010117175043.02d26b40@tangent.ics.olemiss.edu
обсуждение исходный текст
Ответ на Re: SIGTERM -> elog(FATAL) -> proc_exit() is probably a bad idea  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
>I'll take care of fixing what I broke, but does anyone have suggestions
>for good names for the two concepts?  The best I could come up with
>offhand is BEGIN/END_CRIT_SECTION and BEGIN/END_SUPER_CRIT_SECTION,
>but I'm not pleased with that... Ideas?

Let CRITICAL be critical.  If the other section are there just to be 
cautious.  Then the name should represent that.  While I like the 
BEGIN/END_OH_MY_GOD_IF_THIS_GETS_INTERRUPTED_YOU_DONT_WANT_TO_KNOW 
markers.. They are a little hard to work with.

Possibly try demoting the NON_CRITICAL_SECTIONS to something like the 
following.

BEGIN/END_CAUTION_SECTION,
BEGIN/END_WATCH_SECTION



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

Предыдущее
От: "Ross J. Reedstrom"
Дата:
Сообщение: Re: $PGDATA/base/???
Следующее
От: bpalmer
Дата:
Сообщение: Re: $PGDATA/base/???