Re: boolean in C

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Grzegorz Jaskiewicz <gj(at)pointblue(dot)com(dot)pl>
Cc: Bernd Helmle <mailings(at)oopsware(dot)de>, pgsql-hackers Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: boolean in C
Date: 2009-07-16 13:20:21
Message-ID: 23319.1247750421@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Grzegorz Jaskiewicz <gj(at)pointblue(dot)com(dot)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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Grzegorz Jaskiewicz 2009-07-16 13:23:31 Re: boolean in C
Previous Message Andres Freund 2009-07-16 13:18:01 Re: Review remove {join, from}_collapse_limit, add enable_join_ordering