Re: [HACKERS] Should we standardize on a type for signal handlerflags? - Mailing list pgsql-hackers

From Andres Freund
Subject Re: [HACKERS] Should we standardize on a type for signal handlerflags?
Date
Msg-id 20170606191452.gdqr3r4loits564g@alap3.anarazel.de
Whole thread Raw
In response to Re: [HACKERS] Should we standardize on a type for signal handler flags?  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
On 2017-06-06 14:45:37 -0400, Tom Lane wrote:
> Andres Freund <andres@anarazel.de> writes:
> > A reasonable rule would actually be to only use [u]int32 and
> > sig_atomic_t, never bool.
> 
> Yes, I'd agree with that.

Cool.  I propose we change, once branched, the existing code using
booleans, and codify that practice in sources.sgml already existing
section about signal handlers.

- Andres



pgsql-hackers by date:

Previous
From: Robert Haas
Date:
Subject: Re: [HACKERS] logical replication - still unstable after all these months
Next
From: Peter Eisentraut
Date:
Subject: Re: [HACKERS] Re: Alter subscription..SET - NOTICE message is comingfor table which is already removed