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 1oxd1f-0003x6-E9 for pgsql-bugs@arkaria.postgresql.org; Tue, 22 Nov 2022 23:50:03 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1oxd1d-0003WO-JA for pgsql-bugs@arkaria.postgresql.org; Tue, 22 Nov 2022 23:50:01 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oxd1d-0003WE-Au for pgsql-bugs@lists.postgresql.org; Tue, 22 Nov 2022 23:50:01 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oxd1Y-0008CG-H5 for pgsql-bugs@lists.postgresql.org; Tue, 22 Nov 2022 23:49:58 +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 2AMNnooZ3606229; Tue, 22 Nov 2022 18:49:51 -0500 From: Tom Lane To: Alvaro Herrera cc: Bruce Momjian , "David G. Johnston" , "lxndrkrlv@gmail.com" , "pgsql-bugs@lists.postgresql.org" Subject: Re: BUG #17233: Incorrect behavior of DELETE command with bad subquery in WHERE clause In-reply-to: <2475055.1667588822@sss.pgh.pa.us> References: <20221104110041.3a6tngpyqzod4p4p@alvherre.pgsql> <2475055.1667588822@sss.pgh.pa.us> Comments: In-reply-to Tom Lane message dated "Fri, 04 Nov 2022 15:07:02 -0400" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <3606227.1669160990.1@sss.pgh.pa.us> Date: Tue, 22 Nov 2022 18:49:50 -0500 Message-ID: <3606228.1669160990@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk I wrote: > So here's a revision that tries to clean that up a little. 0001 is the > same patch as before, and then 0002 revises the fuzzy-search logic enough > that I can make sense of it. I split them mainly so that you can see the > behavioral difference in the changed test outputs. Hearing no further comments, pushed. regards, tom lane