From: Tom Lane <tgl@sss.pgh.pa.us>
To: Jean-Pierre Pelletier <jppelletier@e-djuster.com>
Cc: pgsql-hackers@postgresql.org
Subject: Re: Number of parentheses in check constraints affected by operator_precedence_warning
Date: Fri, 03 Jun 2016 19:13:52 -0400
Message-ID: <12298.1464995632@sss.pgh.pa.us> (raw)
In-Reply-To: <fa0535ec6d6428cfec40c7e8a6d11156@mail.gmail.com>
References: <fa0535ec6d6428cfec40c7e8a6d11156@mail.gmail.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-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
--
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-hackers@postgresql.org
Cc: tgl@sss.pgh.pa.us, jppelletier@e-djuster.com
Subject: Re: Number of parentheses in check constraints affected by operator_precedence_warning
In-Reply-To: <12298.1464995632@sss.pgh.pa.us>
References: <fa0535ec6d6428cfec40c7e8a6d11156@mail.gmail.com> <12298.1464995632@sss.pgh.pa.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox