Re: max_wal_senders must die

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: max_wal_senders must die
Дата
Msg-id 17626.1288281327@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: max_wal_senders must die  (Alvaro Herrera <alvherre@commandprompt.com>)
Список pgsql-hackers
Alvaro Herrera <alvherre@commandprompt.com> writes:
> BTW I note that there are no elog(ERROR) calls in that code path at all,
> because syscall errors are ignored, so PANIC is not a concern (as the
> code stands currently, at least).  ISTM it would be good to have a
> comment on SetLatch stating that it's used inside critical sections,
> though.

Yeah, I was thinking the same while reading the code yesterday.  It
already notes that it's used in interrupt handlers, but the critical
section angle is an additional reason not to elog(ERROR).
        regards, tom lane


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

Предыдущее
От: Pavel Stehule
Дата:
Сообщение: Re: plperl arginfo
Следующее
От: Andrew Dunstan
Дата:
Сообщение: Re: plperl arginfo