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 1wmOND-000l9C-0K for pgsql-hackers@arkaria.postgresql.org; Wed, 22 Jul 2026 04:15:59 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1wmONB-00A4AX-2e for pgsql-hackers@arkaria.postgresql.org; Wed, 22 Jul 2026 04:15:57 +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 1wmONB-00A4AP-1P for pgsql-hackers@lists.postgresql.org; Wed, 22 Jul 2026 04:15:57 +0000 Received: from mail-pj1-x1030.google.com ([2607:f8b0:4864:20::1030]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.98.2) (envelope-from ) id 1wmON7-00000001McE-3lqm for pgsql-hackers@lists.postgresql.org; Wed, 22 Jul 2026 04:15:55 +0000 Received: by mail-pj1-x1030.google.com with SMTP id 98e67ed59e1d1-38de840f2f0so8052111a91.0 for ; Tue, 21 Jul 2026 21:15:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1784693753; x=1785298553; darn=lists.postgresql.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to:content-type; bh=r035UJNskubitkdgbBQ9cxponqrsyGSOer43MLPOJm4=; b=OIuoC6NIHTsCpeoDYMEpeKMgukg6/h+ApAWHQ28JmNOLGca02Lk84+emIfS22AbeKe VgjC+TQoR6LAdQUGOSxgG6C2VL51e74rfnfLmo7nDxCBa9rRKUMuZXknb+GlX14zb5ya HPA4olZajZPCNPqbFS8v0T3eunyTyDjy26dKWJyOp7JXfQdsWFFvdoxMlNoSuEZTxKle FVtCHso7pu6xk7Rl4poFTn8n7N4GpFrxgdW67vPMSujJfJxqqKv294EMqLMADIn+oxKa uul54o4CIHZvUzXGokD/SMMP9k4uQyniHexkG1QgTacCtvLNP2kN2/bJ4YuB5tKYCFUI re7w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1784693753; x=1785298553; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to:content-type; bh=r035UJNskubitkdgbBQ9cxponqrsyGSOer43MLPOJm4=; b=J6zPVg2ZaYFlqqQlVOqrOPReRgCQ/mN+WaLFeX6uCfoNPQOSM5rWEtttmBas4hT/8O X60u9QE8lieo7QXByeHcjwzuypyhk22GaWdBI2s1ebTMBSTmJBcfSWe2XcOP0RolFK0D xIfdFRWGhkW8sle1tvn0dF2LNn8HWPhNJHAXUvoAfYoduMF755nTsEs5QZcJn5MuUyTj MTAKvoey9A6yRtE1Z2DNx4WxEFMOPWfgNqaECUkcdaAe0+MDfR8WNWJNe+b0LL8A/YS2 QHeuARtAm4Ca0MQs5u4bwQQ3hnh3yFTXrhkIqbqQGi++j0lo5iBYaBa1a/W294QLJ4Q3 Zudg== X-Gm-Message-State: AOJu0YwrRuhcGgajs2TL68B7sjEJCJYyMSqhQUS4G0t7JEyK6k+28js8 4GqI0JcW/jIF8pxeYf5iSYTgnNIfYhCWAQgHf6K5hffnpXUFUx/r/jCy4SFU0lRwf4KeBw== X-Gm-Gg: AR+sD119UsKGZGh7OfKGISrxeek891yFashYjO3DR29DDg/mDHaHiTxnM3imbs3qIr/ Qy9JQQc/NuQh3hHFrRCraAZAqvngLh6zGQo0WvtptoZ1uQQgYH179XQiHkktgaZXIMftSmmD7mb 6UkCYbW/y95ZR7IGxQC77lkJHjNRs+RC8cuWQxVT23GH7LHUlwWKRFyiGWSXQ2dm9xbcVOnC1VV 5bJCkL0LzJ0WBZnC2Rlt6AvjzHlU5YJHXOjDH0Wz81P7qvcCdbo76mKf7/kLZVSHRXgbX9SPtop xMiGP5bJ2p/UVujepKc1KMF5RBEMEoCpZ3/SC+io8XltFc9CSM9pUFcGK0R0ibhn7HRZviYAAQ3 27aiT//MVquG5k8eaMDtlKaei9zu1sPUPBrlHGqZJdfJjTHiVDyUom6/UVqwkZmE9yV4rvm9t7R XWwIjTLAaIAQL7r2j5Nte17W9ubCAZCIim8qPEmg== X-Received: by 2002:a17:90b:2c87:b0:37f:fd1f:d30f with SMTP id 98e67ed59e1d1-38e4b411a55mr22166205a91.12.1784693753387; Tue, 21 Jul 2026 21:15:53 -0700 (PDT) Received: from localhost.localdomain ([61.98.119.142]) by smtp.gmail.com with ESMTPSA id 98e67ed59e1d1-38ea81b2c92sm301788a91.14.2026.07.21.21.15.51 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Tue, 21 Jul 2026 21:15:52 -0700 (PDT) From: Paul Kim To: pgsql-hackers@lists.postgresql.org Cc: michael@paquier.xyz, x4mmm@yandex-team.ru, heikki.linnakangas@iki.fi, Paul Kim Subject: Re: Add vacuum_delay_point() to GiST empty-page deletion pass Date: Wed, 22 Jul 2026 13:15:49 +0900 Message-ID: <20260722041549.10865-1-mok03127@gmail.com> X-Mailer: git-send-email 2.50.1 In-Reply-To: References: <178462815730.66373.14808873588374085998@mail.gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 2026-07-21, Michael Paquier wrote: > I'd argue that this does not feel like a backpatch is strictly > required here. It took somebody 7 years to notice the gap [...] Thanks, Michael -- and thanks, Andrey, for confirming the oversight. Andrey, on aligning this with the GIN thread [0]: I think GiST is actually a bit different. The GIN one is a regression -- the call was there until fd83c83d094 dropped it in a deadlock fix -- so to me it reads as a back-branch matter, given that on master your proposed rework would replace that path and carry its own vacuum_delay_point(). This GiST pass, by contrast, has never had the call since 7df159a620b introduced the two-pass deletion in 2019, and there's no comparable rework in flight -- so it looks like a standalone master fix rather than a back-patch. I don't have a strong view either way, but master-only seems the natural fit for GiST; I'll leave the final call to you, Heikki, and Andrey. [0] https://postgr.es/m/178447127453.110.12276981925360691905@mail.gmail.com -- Paul Kim