Re: pg_receivewal and SIGTERM

Поиск
Список
Период
Сортировка
От Christoph Berg
Тема Re: pg_receivewal and SIGTERM
Дата
Msg-id YwONHOxDOMpLLI5B@msg.df7cb.de
обсуждение исходный текст
Ответ на Re: pg_receivewal and SIGTERM  (Michael Paquier <michael@paquier.xyz>)
Ответы Re: pg_receivewal and SIGTERM  (Michael Paquier <michael@paquier.xyz>)
Список pgsql-hackers
Re: Michael Paquier
> While looking at the last patch proposed, it strikes me that
> time_to_stop should be sig_atomic_t in pg_receivewal.c, as the safe
> type of variable to set in a signal handler.  We could change that,
> while on it..

Done in the attached patch.

> Backpatching this stuff is not an issue here.

Do you mean it can, or can not be backpatched? (I'd argue for
backpatching since the behaviour is slightly broken at the moment.)

Christoph

Вложения

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

Предыдущее
От: Andrew Dunstan
Дата:
Сообщение: Re: Supporting TAP tests with MSVC and Windows
Следующее
От: Justin Pryzby
Дата:
Сообщение: Re: Schema variables - new implementation for Postgres 15