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

From Tom Lane
Subject Re: strange case of "if ((a & b))"
Date
Msg-id 2896014.1619635209@sss.pgh.pa.us
Whole thread Raw
In response to strange case of "if ((a & b))"  (Justin Pryzby <pryzby@telsasoft.com>)
Responses Re: strange case of "if ((a & b))"
List pgsql-hackers
Justin Pryzby <pryzby@telsasoft.com> writes:
> These look strange to me - the inner parens don't do anything.
> I wouldn't write it with 2x parens for the same reason I wouldn't write it with
> 8x parens.

Agreed, but shouldn't we just drop the excess parens rather than
doubling down on useless notation?

            regards, tom lane



pgsql-hackers by date:

Previous
From: Justin Pryzby
Date:
Subject: strange case of "if ((a & b))"
Next
From: Álvaro Herrera
Date:
Subject: Re: ALTER TABLE .. DETACH PARTITION CONCURRENTLY