Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1wwsru-002GYi-1N for pgsql-hackers@arkaria.postgresql.org; Thu, 20 Aug 2026 02:51:02 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1wwsrt-006uqe-1E for pgsql-hackers@arkaria.postgresql.org; Thu, 20 Aug 2026 02:51:01 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1wwsrt-006uqW-0G for pgsql-hackers@lists.postgresql.org; Thu, 20 Aug 2026 02:51:01 +0000 Received: from sss.pgh.pa.us ([68.162.161.243]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.98.2) (envelope-from ) id 1wwsrr-00000001UYS-1RLD for pgsql-hackers@postgresql.org; Thu, 20 Aug 2026 02:51:00 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.18.1/8.18.1) with ESMTP id 67K2onlZ3530860; Wed, 19 Aug 2026 22:50:49 -0400 From: Tom Lane To: David Rowley cc: Alexander Lakhin , pgsql-hackers Subject: Re: Test tidscan,sql is not immune to autovacuum in v14 In-reply-to: References: Comments: In-reply-to David Rowley message dated "Thu, 20 Aug 2026 13:07:01 +1200" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <3530858.1787194249.1@sss.pgh.pa.us> Date: Wed, 19 Aug 2026 22:50:49 -0400 Message-ID: <3530859.1787194249@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk David Rowley writes: > Here's that patchified. I don't really like this proposal. I think the only reason these test cases exist at all is to remind us that we aren't very smart about joins on ctid. In the event that somebody fixes that, these plans would change --- except that it's really unlikely that such an optimization could "see through" the DISTINCT you propose to add. So I think this change basically makes these tests unfit for any purpose. I think the reasonable choices are (1) Remove these test cases completely in all branches. The argument for this is that we're expending test cycles for pretty nearly no benefit, and if someone did fix the case then the tests could be put back with new expected output. (2) Fix only in v14, to ensure that we don't see another of these failures. (3) Do nothing, reasoning that we probably won't see another such failure in v14's remaining lifespan anyway. I'm kind of leaning to (1), but (3) is plausible too. I'm not seeing a lot of point in (2). regards, tom lane