Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1b8yHu-0001Xe-Po for pgsql-hackers@arkaria.postgresql.org; Fri, 03 Jun 2016 23:13:58 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1b8yHu-0002Xt-CG for pgsql-hackers@arkaria.postgresql.org; Fri, 03 Jun 2016 23:13:58 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1b8yHt-0002X0-6e for pgsql-hackers@postgresql.org; Fri, 03 Jun 2016 23:13:57 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1b8yHq-00018x-Ip for pgsql-hackers@postgresql.org; Fri, 03 Jun 2016 23:13:56 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id u53NDqDg012299; Fri, 3 Jun 2016 19:13:52 -0400 From: Tom Lane To: Jean-Pierre Pelletier cc: pgsql-hackers@postgresql.org Subject: Re: Number of parentheses in check constraints affected by operator_precedence_warning In-reply-to: References: Comments: In-reply-to Jean-Pierre Pelletier message dated "Fri, 03 Jun 2016 18:00:36 -0400" Date: Fri, 03 Jun 2016 19:13:52 -0400 Message-ID: <12298.1464995632@sss.pgh.pa.us> X-Pg-Spam-Score: -3.3 (---) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-hackers Precedence: bulk Sender: pgsql-hackers-owner@postgresql.org Jean-Pierre Pelletier 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