Re: boolean in C - Mailing list pgsql-hackers

From Tom Lane
Subject Re: boolean in C
Date
Msg-id 23319.1247750421@sss.pgh.pa.us
Whole thread Raw
In response to Re: boolean in C  (Grzegorz Jaskiewicz <gj@pointblue.com.pl>)
Responses Re: boolean in C
List 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 by date:

Previous
From: Andres Freund
Date:
Subject: Re: Review remove {join,from}_collapse_limit, add enable_join_ordering
Next
From: Grzegorz Jaskiewicz
Date:
Subject: Re: boolean in C