Re: strange case of "if ((a & b))" - Mailing list pgsql-hackers

From Masahiko Sawada
Subject Re: strange case of "if ((a & b))"
Date
Msg-id CAD21AoCzxx+8FyZxZ3DucOQbr4R8_thF70cmHiAndRyAcXW_TA@mail.gmail.com
Whole thread Raw
In response to Re: strange case of "if ((a & b))"  (Michael Paquier <michael@paquier.xyz>)
Responses Re: strange case of "if ((a & b))"  (Michael Paquier <michael@paquier.xyz>)
List pgsql-hackers
On Thu, Oct 7, 2021 at 1:37 PM Michael Paquier <michael@paquier.xyz> wrote:
>
> On Thu, Oct 07, 2021 at 01:27:34PM +0900, Masahiko Sawada wrote:
> > On Thu, Oct 7, 2021 at 11:44 AM Justin Pryzby <pryzby@telsasoft.com> wrote:
> >> I'm not quite sure how you managed to search for it - well done ;)
> >
> > I could not find the recent thread, though :)
>
> Hm.  It looks like there are more occurences of "false : true" that
> could be cleaned up, like in nodeResult.c or tablecmds.c.

Indeed. I've attached a patch that also deals with "false : true" cases.

Regards,

-- 
Masahiko Sawada
EDB:  https://www.enterprisedb.com/

Attachment

pgsql-hackers by date:

Previous
From: "Bossart, Nathan"
Date:
Subject: Re: Add jsonlog log_destination for JSON server logs
Next
From: Amit Langote
Date:
Subject: Re: [BUG] Unexpected action when publishing partition tables