Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1klJ99-0006v0-4k for pgsql-hackers@arkaria.postgresql.org; Fri, 04 Dec 2020 22:01:47 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1klJ98-0008Pg-41 for pgsql-hackers@arkaria.postgresql.org; Fri, 04 Dec 2020 22:01:46 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1klJ97-0008PX-UG for pgsql-hackers@lists.postgresql.org; Fri, 04 Dec 2020 22:01:45 +0000 Received: from out4-smtp.messagingengine.com ([66.111.4.28]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1klJ95-000381-GB for pgsql-hackers@lists.postgresql.org; Fri, 04 Dec 2020 22:01:44 +0000 Received: from compute7.internal (compute7.nyi.internal [10.202.2.47]) by mailout.nyi.internal (Postfix) with ESMTP id E2C845C0216; Fri, 4 Dec 2020 17:01:41 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute7.internal (MEProxy); Fri, 04 Dec 2020 17:01:41 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:subject:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm1; bh=vx9547X6hmBkzaKPo S2NeW2WqWX2IYlyzF9sPoYBuWU=; b=WfmRGfZG/4BRwAYiaF5PGG3G23Dzm1v9M hKbeh5LyEqnwzn1Ig5azLAr1PEqKE+SICFraSj1Iy3ULwMtSYn4aqmcJRRQDuD7U 6RgKo9uqicRxRrQHrTik479bwduxgp4G82FVNGBO8aQ/1gYjF/nns/L9H98iK2Et IiKhR53BYjbxXi62QZdjfmhEoNFgoDibW4tCVSejlhiob/nprFsF5gQMp+jAOQHp Ty/ShkhFmqFlRpOTACLDfjlSOCfD6VYH1JUCDFbqBCZyu2meyWSe36YQmsbdA3sj N6+fZp5lRGhl919NFipJDCvnAHaaxSw0kzsYy+WKTG8ECBbMMt1qQ== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedujedrudeikedgudehhecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecunecujfgurhepfffhvffukfggtggujggfsehttd ertddtredvnecuhfhrohhmpeetlhhvrghrohcujfgvrhhrvghrrgcuoegrlhhvhhgvrhhr vgesrghlvhhhrdhnohdqihhprdhorhhgqeenucggtffrrghtthgvrhhnpeevgfelveegue ejgefhgeetgefhgeehieefheehleetteeiudeiiefhgffgheffteenucfkphepudeltddr leehrddukedrjeelnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilh hfrhhomheprghlvhhhvghrrhgvsegrlhhvhhdrnhhoqdhiphdrohhrgh X-ME-Proxy: Received: from perhan.alvh.no-ip.org (unknown [190.95.18.79]) by mail.messagingengine.com (Postfix) with ESMTPA id 582D224005C; Fri, 4 Dec 2020 17:01:41 -0500 (EST) Received: by perhan.alvh.no-ip.org (Postfix, from userid 1000) id DF1292A14F6; Fri, 4 Dec 2020 19:01:38 -0300 (-03) Date: Fri, 4 Dec 2020 19:01:38 -0300 From: Alvaro Herrera To: Tom Lane Cc: pgsql-hackers@lists.postgresql.org Subject: Re: Removal of operator_precedence_warning Message-ID: <20201204220138.GA955@alvherre.pgsql> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <2234320.1607117945@sss.pgh.pa.us> User-Agent: Mutt/1.10.1 (2018-07-13) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 2020-Dec-04, Tom Lane wrote: > I think it's time for $SUBJECT. We added this GUC in 9.5, which > will be EOL by the time of our next major release, and it was never > meant as more than a transitional aid. Moreover, it's been buggy > as heck (cf abb164655, 05104f693, 01e0cbc4f, 4cae471d1), and the > fact that some of those errors went undetected for years shows that > it's not really gotten much field usage. > > Hence, I propose the attached. Comments? I wonder if it'd be fruitful to ask the submitters of those bugs about their experiences with the feature. Did they find it useful in finding precedence problems in their code? Did they experience other problems that they didn't report? Reading the reports mentioned in those commits, it doesn't look like any of them were actually using the feature -- they all seem to have come across the problems by accidents of varying nature.