pgsql: GiST: Deprecate F_TUPLES_DELETED opaque area flag.

From: Peter Geoghegan <pg(at)bowt(dot)ie>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: GiST: Deprecate F_TUPLES_DELETED opaque area flag.
Date: 2026-08-17 21:31:27
Message-ID: E1ww4vW-00000000yI4-18Ji@gemulon.postgresql.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-committers

GiST: Deprecate F_TUPLES_DELETED opaque area flag.

This flag hasn't been useful since the removal of old-style VACUUM FULL,
so remove it now (this includes removing vestigial code that
unnecessarily set the flag).

Also add test coverage of gistprunepage(). Had that test case been
available before now, the issue fixed by this commit would have been
detected by wal_consistency_checking buildfarm animals.

Author: Peter Geoghegan <pg(at)bowt(dot)ie>
Reviewed-by: Michael Paquiër <michael(at)paquier(dot)xyz>
Discussion: https://postgr.es/m/CAH2-WznbTsQCrjmd=eSawfPqcxCjSFUkk6Qzd3z+gpNte5i03Q@mail.gmail.com
Backpatch-through: 14

Branch
------
REL_15_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/9476134a38ac0df0caaa9546447a00852efbe604

Modified Files
--------------
src/backend/access/gist/gistvacuum.c | 1 -
src/backend/access/gist/gistxlog.c | 3 ---
src/include/access/gist.h | 8 ++------
src/test/regress/expected/gist.out | 26 ++++++++++++++++++++++++++
src/test/regress/sql/gist.sql | 21 +++++++++++++++++++++
5 files changed, 49 insertions(+), 10 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2026-08-17 22:18:09 pgsql: Tighten up tsqueryrecv().
Previous Message Daniel Gustafsson 2026-08-17 20:47:30 pgsql: Make data checksums launcher cancel its worker at SIGINT