boolean in C

From: Grzegorz Jaskiewicz <gj(at)pointblue(dot)com(dot)pl>
To: pgsql-hackers Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: boolean in C
Date: 2009-07-16 10:12:34
Message-ID: 23C9499B-C96B-4484-86CA-606F3ABC7BE3@pointblue.com.pl
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi folks,

Today I got bitten a bit, trying to write C function for postgresql,
that also includes some of company's internal stuff. Needles to say,
our stuff defines BOOL, as well as postgresql's c.h include file.

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 ?

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 2009-07-16 10:36:14 Re: [GENERAL] pg_migrator not setting values of sequences?
Previous Message Nikhil Sontakke 2009-07-16 10:02:59 Re: [PATCH] DefaultACLs