Re: pg_receivewal and SIGTERM - Mailing list pgsql-hackers

From Christoph Berg
Subject Re: pg_receivewal and SIGTERM
Date
Msg-id YwONHOxDOMpLLI5B@msg.df7cb.de
Whole thread Raw
In response to Re: pg_receivewal and SIGTERM  (Michael Paquier <michael@paquier.xyz>)
Responses Re: pg_receivewal and SIGTERM
List 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

Attachment

pgsql-hackers by date:

Previous
From: Andrew Dunstan
Date:
Subject: Re: Supporting TAP tests with MSVC and Windows
Next
From: Justin Pryzby
Date:
Subject: Re: Schema variables - new implementation for Postgres 15