Re: [HACKERS] possible self-deadlock window after bad ProcessStartupPacket

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: [HACKERS] possible self-deadlock window after bad ProcessStartupPacket
Дата
Msg-id 23818.1532030641@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: [HACKERS] possible self-deadlock window after badProcessStartupPacket  (Nico Williams <nico@cryptonector.com>)
Ответы Re: [HACKERS] possible self-deadlock window after badProcessStartupPacket  (Nico Williams <nico@cryptonector.com>)
Список pgsql-hackers
Nico Williams <nico@cryptonector.com> writes:
> What I'd do is have a volatile sig_atomic_t in_signal_handler_context
> variable to indicate that we're dying, and then when that is non-zero,
> ereport() and friends could use all-async-signal-safe codepaths.

I eagerly await your patch with an async-safe implementation of ereport...

            regards, tom lane


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

Предыдущее
От: Nico Williams
Дата:
Сообщение: Re: [HACKERS] possible self-deadlock window after badProcessStartupPacket
Следующее
От: Nico Williams
Дата:
Сообщение: Re: [HACKERS] possible self-deadlock window after badProcessStartupPacket