Re: pg_receivewal and SIGTERM
Daniel Gustafsson <daniel@yesql.se>
From: Daniel Gustafsson <daniel@yesql.se>
To: Christoph Berg <myon@debian.org>
Cc: PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>
Date: 2022-08-16T11:44:55Z
Lists: 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/
Commits
-
Handle SIGTERM in pg_receivewal and pg_recvlogical
- 8b60db774356 16.0 landed
-
doc: Add missing parenthesis to keycombo
- 6cbed0ec791f 16.0 landed
- 207fc7546644 15.0 landed