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 <[email protected]>
Reviewed-by: Michael Paquiër <[email protected]>
Discussion: 
https://postgr.es/m/CAH2-WznbTsQCrjmd=esawfpqcxcjsfukk6qzd3z+gpnte5i...@mail.gmail.com
Backpatch-through: 14

Branch
------
REL_14_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/9d2d3bd079f90aaf05988ef61de6a7b8d0118c70

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

Reply via email to