Re: boolean in C

From: Bernd Helmle <mailings(at)oopsware(dot)de>
To: Grzegorz Jaskiewicz <gj(at)pointblue(dot)com(dot)pl>, pgsql-hackers Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: boolean in C
Date: 2009-07-16 11:52:59
Message-ID: DB025C53340E9FA90F3A6F9B@amenophis
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

--On 16. Juli 2009 11:12:34 +0100 Grzegorz Jaskiewicz <gj(at)pointblue(dot)com(dot)pl>
wrote:

> Now, for us, we will probably change it, but is there any reason for
> postgresql nowadays not to use stdbool.h, apart from fact, that no one
> made an effort ? Having said that, wouldn't it be easy as just replacing
> all TRUE/FALSE/BOOL with lowercase ones, and including stdbool from c.h ?

If i remember correctly, older SUN compilers doesn't have it. Don't know if
that is still an issue yet, but we need to take care for non-gcc compilers
i think.

--
Thanks

Bernd

In response to

  • boolean in C at 2009-07-16 10:12:34 from Grzegorz Jaskiewicz

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Petr Jelinek 2009-07-16 11:54:18 Re: [PATCH] DefaultACLs
Previous Message Pavel Stehule 2009-07-16 11:07:03 Re: slow count in window query