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
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/f7cc6fd76007c5a051109cf8bbd7e1d391bd45a8

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