Re: Number of parentheses in check constraints affected by operator_precedence_warning - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Number of parentheses in check constraints affected by operator_precedence_warning
Date
Msg-id 12298.1464995632@sss.pgh.pa.us
Whole thread Raw
In response to Number of parentheses in check constraints affected by operator_precedence_warning  (Jean-Pierre Pelletier <jppelletier@e-djuster.com>)
List pgsql-hackers
Jean-Pierre Pelletier <jppelletier@e-djuster.com> writes:
> We noticed on PostgreSQL 9.5.3 that the number of parentheses in check
> constraints expressions
> vary depending on the setting of operator_precedence_warning.

Hmm, yeah, another place that needs to look through AEXPR_PAREN nodes :-(.
Fixed, thanks for the report!
        regards, tom lane



pgsql-hackers by date:

Previous
From: Jean-Pierre Pelletier
Date:
Subject: Number of parentheses in check constraints affected by operator_precedence_warning
Next
From: Andreas Karlsson
Date:
Subject: Re: Parallel safety tagging of extension functions