Re: GinPageIs* don't actually return a boolean - Mailing list pgsql-hackers

From Andres Freund
Subject Re: GinPageIs* don't actually return a boolean
Date
Msg-id 20150811164438.GF17575@awork2.anarazel.de
Whole thread Raw
In response to Re: GinPageIs* don't actually return a boolean  (Robert Haas <robertmhaas@gmail.com>)
Responses Re: GinPageIs* don't actually return a boolean  (Alvaro Herrera <alvherre@2ndquadrant.com>)
List pgsql-hackers
On 2015-08-11 12:43:03 -0400, Robert Haas wrote:
> On Tue, Aug 11, 2015 at 12:40 PM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
> > We do not use !! elsewhere for this purpose, and I for one find it a
> > pretty ugly locution.
> 
> We do, actually, now, in contrib/pg_xlogdump/pg_xlogdump.c.  I'd be in
> favor of getting rid of those.

And a bunch more places actually. Blame me. I'll come up with a patch
fixing the macros and converting existing !! style ones.

- Andres



pgsql-hackers by date:

Previous
From: Robert Haas
Date:
Subject: Re: GinPageIs* don't actually return a boolean
Next
From: Josh Berkus
Date:
Subject: Re: WIP: SCRAM authentication