Re: Number of parentheses in check constraints affected by operator_precedence_warning

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Jean-Pierre Pelletier <jppelletier(at)e-djuster(dot)com>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Number of parentheses in check constraints affected by operator_precedence_warning
Date: 2016-06-03 23:13:52
Message-ID: 12298.1464995632@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Jean-Pierre Pelletier <jppelletier(at)e-djuster(dot)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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Andreas Karlsson 2016-06-04 00:37:46 Re: Parallel safety tagging of extension functions
Previous Message Jean-Pierre Pelletier 2016-06-03 22:00:36 Number of parentheses in check constraints affected by operator_precedence_warning