Re: [HACKERS] taking stdbool.h into use - Mailing list pgsql-hackers

From Andres Freund
Subject Re: [HACKERS] taking stdbool.h into use
Date
Msg-id 20180320211423.hi5nq5drndjzneld@alap3.anarazel.de
Whole thread Raw
In response to Re: [HACKERS] taking stdbool.h into use  (Peter Eisentraut <peter.eisentraut@2ndquadrant.com>)
Responses Re: [HACKERS] taking stdbool.h into use  (Michael Paquier <michael@paquier.xyz>)
List pgsql-hackers
Hi,

On 2018-03-20 17:04:22 -0400, Peter Eisentraut wrote:
> On 3/20/18 02:18, Tom Lane wrote:
> > I think it'd be worth identifying exactly which platforms have
> > sizeof(bool) different from 1.  Are any of them things that anyone
> > cares about going forward?  The point of this patch is to ease
> > future development of extensions, but it's unlikely any extension
> > authors care about portability onto, say, macOS 10.4 (prairiedog).
> 
> I'm not sure I follow.  Say we commit configure tests and discover that
> platforms A, B, and C are affected.  What would we do with that
> information?  I don't think we are saying we'd just break A, B, and C.

If those are only older platforms we could just not use stdbool for
those. The likelihood of getting into conflicts with $library stdbool
uses is lower...

Greetings,

Andres Freund


pgsql-hackers by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: [HACKERS] taking stdbool.h into use
Next
From: Huong Dangminh
Date:
Subject: RE: PostgreSQL 10: Segmentation fault when using GROUPING SETS withall unsortable columns