Re: pg_receivewal and SIGTERM

Поиск
Список
Период
Сортировка
От Daniel Gustafsson
Тема Re: pg_receivewal and SIGTERM
Дата
Msg-id 15338147-16C0-4D4D-8CAD-460102857BF6@yesql.se
обсуждение исходный текст
Ответ на Re: pg_receivewal and SIGTERM  (Christoph Berg <myon@debian.org>)
Ответы Re: pg_receivewal and SIGTERM  (Bharath Rupireddy <bharath.rupireddyforpostgres@gmail.com>)
Список pgsql-hackers
> On 16 Aug 2022, at 13:36, Christoph Berg <myon@debian.org> wrote:

>>     pqsignal(SIGINT, sigint_handler);
>> +    pqsignal(SIGTERM, sigint_handler);
>> Tiny nitpick, I think we should rename sigint_handler to just sig_handler as it
>> does handle more than sigint.
>
> I went with sigexit_handler since pg_recvlogical has also a
> sighup_handler and "sig_handler" would be confusing there.

Good point, sigexit_handler is a better name here.

--
Daniel Gustafsson        https://vmware.com/




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

Предыдущее
От: Christoph Berg
Дата:
Сообщение: Re: pg_receivewal and SIGTERM
Следующее
От: Amit Kapila
Дата:
Сообщение: Re: Support logical replication of global object commands