pgsql: GiST: Deprecate F_TUPLES_DELETED opaque area flag. - Mailing list pgsql-committers

From Peter Geoghegan
Subject pgsql: GiST: Deprecate F_TUPLES_DELETED opaque area flag.
Date
Msg-id E1ww4vW-00000000yHz-0y51@gemulon.postgresql.org
Whole thread
List 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@bowt.ie>
Reviewed-by: Michael Paquiër <michael@paquier.xyz>
Discussion: https://postgr.es/m/CAH2-WznbTsQCrjmd=eSawfPqcxCjSFUkk6Qzd3z+gpNte5i03Q@mail.gmail.com
Backpatch-through: 14

Branch
------
REL_17_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/727295ae6dd2a120d8cefd802a555a3e1a8d4e34

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(-)


Attachment

pgsql-committers by date:

Previous
From: Michael Paquier
Date:
Subject: pgsql: psql: Fix \d+ display of REPLICA IDENTITY NOTHING
Next
From: Amit Langote
Date:
Subject: pgsql: Fix cross-type foreign keys in the batched fast-path FK check