From: Andres Freund <andres@anarazel.de>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Add very basic test for kill_prior_tuples
Date: Wed, 13 Aug 2025 19:38:11 +0000
Message-ID: <E1umHIZ-000P7e-13@gemulon.postgresql.org> (raw)
Add very basic test for kill_prior_tuples
Previously our tests did not exercise kill_prior_tuples for hash and gist. For
gist some related paths were reached, but gist's implementation seems to not
work if all the dead tuples are on one page (or something like that). The
coverage for other index types was rather incidental.
Thus add an explicit test ensuring kill_prior_tuples works at all.
Reviewed-by: Heikki Linnakangas <hlinnaka@iki.fi>
Discussion: https://postgr.es/m/lxzj26ga6ippdeunz6kuncectr5gfuugmm2ry22qu6hcx6oid6@lzx3sjsqhmt6
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/377b7ab1452418a90d6c46dcef2d4a2d4a4517af
Modified Files
--------------
src/test/isolation/expected/index-killtuples.out | 355 +++++++++++++++++++++++
src/test/isolation/isolation_schedule | 1 +
src/test/isolation/specs/index-killtuples.spec | 127 ++++++++
3 files changed, 483 insertions(+)
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 using the --to and --cc options:
reply via email
To: pgsql-committers@postgresql.org
Cc: andres@anarazel.de, pgsql-committers@lists.postgresql.org
Subject: Re: pgsql: Add very basic test for kill_prior_tuples
In-Reply-To: <E1umHIZ-000P7e-13@gemulon.postgresql.org>
* 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