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 по дате отправления:

Предыдущее
От: Robert Haas
Дата:
Сообщение: Re: [HACKERS] logical replication - still unstable after all these months
Следующее
От: Peter Eisentraut
Дата:
Сообщение: Re: [HACKERS] Re: Alter subscription..SET - NOTICE message is comingfor table which is already removed