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 1klJS4-0007S4-CY for pgsql-hackers@arkaria.postgresql.org; Fri, 04 Dec 2020 22:21:20 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1klJS3-0000Uz-Aq for pgsql-hackers@arkaria.postgresql.org; Fri, 04 Dec 2020 22:21:19 +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 1klJS3-0000Us-3a for pgsql-hackers@lists.postgresql.org; Fri, 04 Dec 2020 22:21:19 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1klJRz-0003GJ-9E for pgsql-hackers@lists.postgresql.org; Fri, 04 Dec 2020 22:21:18 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.15.2/8.15.2) with ESMTP id 0B4MLCRm2243928; Fri, 4 Dec 2020 17:21:12 -0500 From: Tom Lane To: Alvaro Herrera cc: pgsql-hackers@lists.postgresql.org Subject: Re: Removal of operator_precedence_warning In-reply-to: <20201204220138.GA955@alvherre.pgsql> References: <20201204220138.GA955@alvherre.pgsql> Comments: In-reply-to Alvaro Herrera message dated "Fri, 04 Dec 2020 19:01:38 -0300" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <2243926.1607120472.1@sss.pgh.pa.us> Date: Fri, 04 Dec 2020 17:21:12 -0500 Message-ID: <2243927.1607120472@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Alvaro Herrera writes: > 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. The two oldest reports look like the submitters had operator_precedence_warning turned on in normal use, which is reasonable given that was early 9.5.x days. The third one looks like it was a test setup, while the latest bug sounds like it was found by code inspection not by stumbling over the misbehavior. So people did use it, at least for awhile. But anyone who's going directly from 9.4 or earlier to v14 is going to have lots more compatibility issues to worry about besides precedence. regards, tom lane