From: Paul Kim <mok03127@gmail.com>
To: pgsql-hackers@lists.postgresql.org
Cc: michael@paquier.xyz, x4mmm@yandex-team.ru, heikki.linnakangas@iki.fi, Paul Kim <mok03127@gmail.com>
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> (raw)
In-Reply-To: <al_0FcLuM46-2gMO@paquier.xyz>
References: <178462815730.66373.14808873588374085998@mail.gmail.com>
<E247CECB-A817-44AF-9761-D801CDC14BEE@yandex-team.ru>
<al_0FcLuM46-2gMO@paquier.xyz>
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-hackers@postgresql.org
Cc: mok03127@gmail.com
Subject: Re: Add vacuum_delay_point() to GiST empty-page deletion pass
In-Reply-To: <20260722041549.10865-1-mok03127@gmail.com>
References: <178462815730.66373.14808873588374085998@mail.gmail.com> <E247CECB-A817-44AF-9761-D801CDC14BEE@yandex-team.ru> <al_0FcLuM46-2gMO@paquier.xyz> <20260722041549.10865-1-mok03127@gmail.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox