Re: pg_receivewal and SIGTERM

From: Daniel Gustafsson <daniel(at)yesql(dot)se>
To: Christoph Berg <myon(at)debian(dot)org>
Cc: PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: pg_receivewal and SIGTERM
Date: 2022-08-16 11:44:55
Message-ID: 15338147-16C0-4D4D-8CAD-460102857BF6@yesql.se
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

> On 16 Aug 2022, at 13:36, Christoph Berg <myon(at)debian(dot)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/

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Amit Kapila 2022-08-16 11:47:59 Re: Support logical replication of global object commands
Previous Message Christoph Berg 2022-08-16 11:44:52 Re: pg_receivewal and SIGTERM