Re: [HACKERS] taking stdbool.h into use

Поиск
Список
Период
Сортировка
Искать
От
Tom Lane
Тема
Re: [HACKERS] taking stdbool.h into use
Дата
Msg-id
28759.1502919060@sss.pgh.pa.us
Ответ на
Список
Дерево обсуждения
[HACKERS] taking stdbool.h into use Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
Re: [HACKERS] taking stdbool.h into use Tom Lane <tgl@sss.pgh.pa.us>
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>
Re: [HACKERS] taking stdbool.h into use Tom Lane <tgl@sss.pgh.pa.us>
Re: [HACKERS] taking stdbool.h into use Michael Paquier <michael.paquier@gmail.com>
Re: [HACKERS] taking stdbool.h into use Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
Re: [HACKERS] taking stdbool.h into use Tom Lane <tgl@sss.pgh.pa.us>
Re: [HACKERS] taking stdbool.h into use Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
Re: [HACKERS] taking stdbool.h into use Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
Re: [HACKERS] taking stdbool.h into use Alvaro Herrera <alvherre@alvh.no-ip.org>
Re: [HACKERS] taking stdbool.h into use Michael Paquier <michael.paquier@gmail.com>
Re: [HACKERS] taking stdbool.h into use Alvaro Herrera <alvherre@alvh.no-ip.org>
Re: [HACKERS] taking stdbool.h into use Tom Lane <tgl@sss.pgh.pa.us>
Re: [HACKERS] taking stdbool.h into use Michael Paquier <michael.paquier@gmail.com>
Re: [HACKERS] taking stdbool.h into use Michael Paquier <michael.paquier@gmail.com>
Re: [HACKERS] taking stdbool.h into use Michael Paquier <michael.paquier@gmail.com>
Re: [HACKERS] taking stdbool.h into use Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
Re: [HACKERS] taking stdbool.h into use Michael Paquier <michael.paquier@gmail.com>
Re: [HACKERS] taking stdbool.h into use Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
Re: [HACKERS] taking stdbool.h into use Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
Re: [HACKERS] taking stdbool.h into use Michael Paquier <michael.paquier@gmail.com>
Re: [HACKERS] taking stdbool.h into use Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
Re: [HACKERS] taking stdbool.h into use Michael Paquier <michael.paquier@gmail.com>
Re: [HACKERS] taking stdbool.h into use Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
Re: [HACKERS] taking stdbool.h into use Michael Paquier <michael.paquier@gmail.com>
Re: [HACKERS] taking stdbool.h into use Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
Re: [HACKERS] taking stdbool.h into use Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
Re: [HACKERS] taking stdbool.h into use Michael Paquier <michael.paquier@gmail.com>
Re: [HACKERS] taking stdbool.h into use Alvaro Herrera <alvherre@alvh.no-ip.org>
Re: [HACKERS] taking stdbool.h into use Tom Lane <tgl@sss.pgh.pa.us>
Re: [HACKERS] taking stdbool.h into use Michael Paquier <michael.paquier@gmail.com>
Re: [HACKERS] taking stdbool.h into use Michael Paquier <michael.paquier@gmail.com>
Re: [HACKERS] taking stdbool.h into use Tom Lane <tgl@sss.pgh.pa.us>
Re: [HACKERS] taking stdbool.h into use Michael Paquier <michael.paquier@gmail.com>
Re: [HACKERS] taking stdbool.h into use Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
Re: [HACKERS] taking stdbool.h into use Tom Lane <tgl@sss.pgh.pa.us>
Re: [HACKERS] taking stdbool.h into use Michael Paquier <michael.paquier@gmail.com>
Re: [HACKERS] taking stdbool.h into use Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
Re: [HACKERS] taking stdbool.h into use Michael Paquier <michael.paquier@gmail.com>
Re: [HACKERS] taking stdbool.h into use Michael Paquier <michael.paquier@gmail.com>
Re: [HACKERS] taking stdbool.h into use Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
Re: [HACKERS] taking stdbool.h into use Michael Paquier <michael.paquier@gmail.com>
Re: [HACKERS] taking stdbool.h into use Andres Freund <andres@anarazel.de>
Re: [HACKERS] taking stdbool.h into use Michael Paquier <michael@paquier.xyz>
Re: [HACKERS] taking stdbool.h into use Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
Re: [HACKERS] taking stdbool.h into use Michael Paquier <michael@paquier.xyz>
Re: [HACKERS] taking stdbool.h into use Tom Lane <tgl@sss.pgh.pa.us>
Re: [HACKERS] taking stdbool.h into use Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
Re: [HACKERS] taking stdbool.h into use Andres Freund <andres@anarazel.de>
Re: [HACKERS] taking stdbool.h into use Michael Paquier <michael@paquier.xyz>
Re: [HACKERS] taking stdbool.h into use Andres Freund <andres@anarazel.de>
Re: [HACKERS] taking stdbool.h into use Tom Lane <tgl@sss.pgh.pa.us>
Re: [HACKERS] taking stdbool.h into use Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
Re: [HACKERS] taking stdbool.h into use Michael Paquier <michael@paquier.xyz>
Re: [HACKERS] taking stdbool.h into use Tom Lane <tgl@sss.pgh.pa.us>
Re: [HACKERS] taking stdbool.h into use Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
Re: [HACKERS] taking stdbool.h into use Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
Re: [HACKERS] taking stdbool.h into use Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
Re: [HACKERS] taking stdbool.h into use Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
I wrote:
> gaur/pademelon isn't booted up right now, but it might provide
> an example of a system that lacks  altogether.
> (If it doesn't, I'd be willing to concede that we need not
> consider that scenario anymore.)

For the record --- pademelon (vendor cc on that box) doesn't have
 at all.  gaur (user-installed gcc) has such a header,
but it contains

typedef enum {   false = 0,   true = 1 } bool;

which unsurprisingly results in
sizeof(bool) = 4

What's possibly more relevant to Peter's patch, this represents
a platform on which "#include " succeeds, but
(a) there is no typedef _Bool, and (b) "bool" is not a macro.
Obviously pre-C99 ...
		regards, tom lane


В списке pgsql-hackers по дате отправления
От: Tom Lane
Дата:
От: Robert Haas
Дата:
Сообщение: Re: [HACKERS] Hash Functions
FAQ