On Mon, Sep 24, 2018 at 09:03:49PM -0400, Tom Lane wrote:
> You could only fix that by blocking all signal handling during the
> handler, which would be expensive and rather pointless.
>
> I do not think that it's readily possible to improve on the current
> situation with one sig_atomic_t per flag.
Okay, thanks for the confirmation.
At the same time, all the pending flags in miscadmin.h could be switched
to sig_atomic_t if we were to be correct, no? The counters could be
higher than 256 so that's not really possible.
--
Michael