Re: GinPageIs* don't actually return a boolean

From: Yury Zhuravlev <u(dot)zhuravlev(at)postgrespro(dot)ru>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Robert Haas <robertmhaas(at)gmail(dot)com>, Andres Freund <andres(at)anarazel(dot)de>, Michael Paquier <michael(dot)paquier(at)gmail(dot)com>, Alvaro Herrera <alvherre(at)2ndquadrant(dot)com>, PostgreSQL mailing lists <pgsql-hackers(at)postgresql(dot)org>, Teodor Sigaev <teodor(at)sigaev(dot)ru>
Subject: Re: GinPageIs* don't actually return a boolean
Date: 2016-02-12 15:11:14
Message-ID: 583461f4-9201-48e6-bcf1-3ae63c25e065@postgrespro.ru
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Tom Lane wrote:
> Well, the thing that is scaring me here is allowing a platform-specific
> definition of "bool" to be adopted.

You say that something strange. bool from stdbool.h is C99 standart.
A different behavior would be regarded as a compiler error.

--
Yury Zhuravlev
Postgres Professional: http://www.postgrespro.com
The Russian Postgres Company

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Robert Haas 2016-02-12 15:11:49 Re: CustomScan in a larger structure (RE: CustomScan support on readfuncs.c)
Previous Message Robert Haas 2016-02-12 15:10:33 Re: extend pgbench expressions with functions