[HACKERS] taking stdbool.h into use

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема [HACKERS] taking stdbool.h into use
Дата
Msg-id 3a0fe7e1-5ed1-414b-9230-53bbc0ed1f49@2ndquadrant.com
обсуждение исходный текст
Ответы Re: [HACKERS] taking stdbool.h into use  (Thomas Munro <thomas.munro@enterprisedb.com>)
Re: [HACKERS] taking stdbool.h into use  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
Some not so long time ago, it was discussed to look into taking
stdbool.h into use.  The reason was that third-party libraries (perl?,
ldap?, postgis?) are increasingly doing so, and having incompatible
definitions of bool could/does create a mess.

Here is a patch set that aims to accomplish that.  On the way there, it
cleans up various loose and weird uses of bool and proposes a way to
ensure that the system catalog structs get a 1-byte bool even if the
"standard" bool is not.

I have done a fair amount of testing on this, including a hand-rigged
setup where _Bool is not 1 byte.  But obviously, more and wider testing
would be very useful.

-- 
Peter Eisentraut              http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services

-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers

Вложения

В списке pgsql-hackers по дате отправления:

Предыдущее
От: David Rowley
Дата:
Сообщение: Re: [HACKERS] Fixup some misusage of appendStringInfo and friends
Следующее
От: Thomas Munro
Дата:
Сообщение: Re: [HACKERS] proposal: psql: check env variable PSQL_PAGER