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.94.2) (envelope-from ) id 1sW3X6-00D1lD-DO for pgsql-hackers@arkaria.postgresql.org; Tue, 23 Jul 2024 00:37:36 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1sW3X4-008PRa-FU for pgsql-hackers@arkaria.postgresql.org; Tue, 23 Jul 2024 00:37:34 +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.94.2) (envelope-from ) id 1sW3X3-008PRQ-Rc for pgsql-hackers@lists.postgresql.org; Tue, 23 Jul 2024 00:37:34 +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.94.2) (envelope-from ) id 1sW3X1-000wu7-Nd for pgsql-hackers@postgresql.org; Tue, 23 Jul 2024 00:37:33 +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 46N0bEtM950882; Mon, 22 Jul 2024 20:37:14 -0400 From: Tom Lane To: Michael Paquier cc: Andres Freund , Robert Haas , Melanie Plageman , Peter Geoghegan , Heikki Linnakangas , Pg Hackers , Noah Misch Subject: Re: Vacuum ERRORs out considering freezing dead tuples from before OldestXmin In-reply-to: References: <614152.1721580711@sss.pgh.pa.us> <729493.1721595882@sss.pgh.pa.us> <889997.1721663290@sss.pgh.pa.us> <20240722173717.jq67ij75bleau6pb@awork3.anarazel.de> Comments: In-reply-to Michael Paquier message dated "Tue, 23 Jul 2024 09:25:04 +0900" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <950880.1721695034.1@sss.pgh.pa.us> Date: Mon, 22 Jul 2024 20:37:14 -0400 Message-ID: <950881.1721695034@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Michael Paquier writes: > Sawada-san and John are the two ones in the best position to answer > that. I'm not sure either how to force a second index pass, either. Yeah, I think we've established that having some way to force that, without using a huge test case, would be really desirable. Maybe just provide a way to put an artificial limit on how many tuples processed per pass? (And no, I wasn't trying to rag on Melanie. My point here is that we've failed to design-in easy testability of this code path, and that's surely not her fault.) regards, tom lane