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:37:06
Message-ID: 23616.1247751426@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:
> Why C89, and not C99 ? Virtually all compilers for last 4 years have/
> had C99 support.

Not everybody is running a compiler released within the last 4 years.

The short answer is that C99 doesn't appear to offer enough advantage
over C89, *for our purposes*, to justify freezing out older systems.
stdbool is a perfect example of an addition that offers precisely
zero actual functional improvement. All it would be for us is an
additional autoconf headache and portability hazard.

regards, tom lane

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Hitoshi Harada 2009-07-16 13:40:32 Re: slow count in window query
Previous Message Andres Freund 2009-07-16 13:25:33 Re: Review remove {join, from}_collapse_limit, add enable_join_ordering