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

From Michael Paquier
Subject Re: strange case of "if ((a & b))"
Date
Msg-id YV6mdqdDDJ4QX+t3@paquier.xyz
Whole thread Raw
In response to Re: strange case of "if ((a & b))"  (Masahiko Sawada <sawada.mshk@gmail.com>)
Responses Re: strange case of "if ((a & b))"
List pgsql-hackers
On Thu, Oct 07, 2021 at 03:24:53PM +0900, Masahiko Sawada wrote:
> Indeed. I've attached a patch that also deals with "false : true" cases.

Looks right.  I would be tempted to keep the one in readfuncs.c
though, mostly as a matter of style, and I would add a comparison with
NULL for the return result of bsearch() in ts_utils.c.
--
Michael

Attachment

pgsql-hackers by date:

Previous
From: Michael Paquier
Date:
Subject: Re: Add jsonlog log_destination for JSON server logs
Next
From: katouknl
Date:
Subject: Re: [PATCH] Added TRANSFORM FOR for COMMENT tab completion