Re: [HACKERS] Should we standardize on a type for signal handlerflags?

Поиск
Список
Период
Сортировка
От Andres Freund
Тема Re: [HACKERS] Should we standardize on a type for signal handlerflags?
Дата
Msg-id 20170606191452.gdqr3r4loits564g@alap3.anarazel.de
обсуждение исходный текст
Ответ на Re: [HACKERS] Should we standardize on a type for signal handler flags?  (Tom Lane <tgl@sss.pgh.pa.us>)
Список 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 по дате отправления: