Re: boolean in C

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: boolean in C
Дата
Msg-id 23319.1247750421@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: boolean in C  (Grzegorz Jaskiewicz <gj@pointblue.com.pl>)
Ответы Re: boolean in C  (Grzegorz Jaskiewicz <gj@pointblue.com.pl>)
Список pgsql-hackers
Grzegorz Jaskiewicz <gj@pointblue.com.pl> writes:
> oh, another thing.
> stdbool is C99 standard feature.

We are still targeting C89, not C99.

Another reason not to depend on stdbool is that, so far as I can see,
the standard does not promise that type _Bool has size = 1 byte.
We have to have that because of on-disk compatibility requirements.
        regards, tom lane


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

Предыдущее
От: Andres Freund
Дата:
Сообщение: Re: Review remove {join,from}_collapse_limit, add enable_join_ordering
Следующее
От: Grzegorz Jaskiewicz
Дата:
Сообщение: Re: boolean in C