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 1tj4j9-005iBl-Bq for pgsql-hackers@arkaria.postgresql.org; Fri, 14 Feb 2025 23:04:07 +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 1tj4j7-00EnsI-Qj for pgsql-hackers@arkaria.postgresql.org; Fri, 14 Feb 2025 23:04:05 +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 1tj4j7-00Ens0-Gw for pgsql-hackers@lists.postgresql.org; Fri, 14 Feb 2025 23:04:05 +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.96) (envelope-from ) id 1tj4j5-000qty-2u for pgsql-hackers@postgresql.org; Fri, 14 Feb 2025 23:04:04 +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 51EN3o4v3915750; Fri, 14 Feb 2025 18:03:50 -0500 From: Tom Lane To: Thomas Munro cc: Melanie Plageman , Masahiko Sawada , Tomas Vondra , Noah Misch , vignesh C , Andres Freund , Pg Hackers , Heikki Linnakangas , Nazir Bilal Yavuz , Robert Haas , "Andrey M. Borodin" Subject: Re: Confine vacuum skip logic to lazy_scan_skip In-reply-to: References: <20240306234733.nd4a636colxkgq2e@liskov> <20240707144944.58.nmisch@google.com> <20240716015226.60.nmisch@google.com> <85696b8e-f1bf-459e-ba97-5608c644c185@vondra.me> Comments: In-reply-to Thomas Munro message dated "Sat, 15 Feb 2025 11:54:17 +1300" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <3915748.1739574230.1@sss.pgh.pa.us> Date: Fri, 14 Feb 2025 18:03:50 -0500 Message-ID: <3915749.1739574230@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Thomas Munro writes: > Here's a patch. Is there a tidier way to write this? Hmm, I think not with the current set of primitives. We could think about refactoring them, but that's not a job for a band-aid patch. > It should probably be back-patched to 17, because external code might > use per-buffer data (obviously v17 core doesn't or skink would have > told us this sooner). It's not a good time to push to 17 today, > though. Push to master now to cheer skink up and 17 some time later > when the coast is clear, or just wait? Agreed that right now is a bad time to push this to v17 --- we need to keep the risk factors as low as possible for the re-release. Master now and v17 after the re-wrap seems like the right compromise. regards, tom lane