| From: | Grzegorz Jaskiewicz <gj(at)pointblue(dot)com(dot)pl> |
|---|---|
| To: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
| 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:23:31 |
| Message-ID: | 9F52F8DE-B1F8-4B7E-B4E7-BDCE6A00D36B@pointblue.com.pl |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers |
On 16 Jul 2009, at 14:20, Tom Lane wrote:
> 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.
I think the latter is easily fixable, or forceable to be one byte.
Why C89, and not C99 ? Virtually all compilers for last 4 years have/
had C99 support.
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Andres Freund | 2009-07-16 13:25:33 | Re: Review remove {join, from}_collapse_limit, add enable_join_ordering |
| Previous Message | Tom Lane | 2009-07-16 13:20:21 | Re: boolean in C |