postgresql/contrib/amcheck
Noah Misch 42496cba60 amcheck: Distinguish interrupted page deletion from corruption.
This prevents false-positive reports about "the first child of leftmost
target page is not leftmost of its level", "block %u is not leftmost"
and "left link/right link pair".  They appeared if amcheck ran before
VACUUM cleaned things, after a cluster exited recovery between the
first-stage and second-stage WAL records of a deletion.  Back-patch to
v11 (all supported versions).

Reviewed by Peter Geoghegan.

Discussion: https://postgr.es/m/20231005025232.c7.nmisch@google.com
2023-10-30 14:46:09 -07:00
..
expected Make relation-enumerating operations be security-restricted operations. 2022-05-09 08:35:12 -07:00
sql Make relation-enumerating operations be security-restricted operations. 2022-05-09 08:35:12 -07:00
t amcheck: Distinguish interrupted page deletion from corruption. 2023-10-30 14:46:09 -07:00
.gitignore Add .gitignore to contrib/amcheck. 2017-03-09 22:45:24 -05:00
Makefile Extend amcheck to check heap pages. 2020-10-22 08:44:18 -04:00
amcheck--1.0--1.1.sql Add amcheck verification of heap relations belonging to btree indexes. 2018-03-31 19:52:01 -07:00
amcheck--1.0.sql Add amcheck extension to contrib. 2017-03-09 16:33:02 -08:00
amcheck--1.1--1.2.sql Allow amcheck to re-find tuples using new search. 2019-03-20 10:41:36 -07:00
amcheck--1.2--1.3.sql Extend amcheck to check heap pages. 2020-10-22 08:44:18 -04:00
amcheck.control Extend amcheck to check heap pages. 2020-10-22 08:44:18 -04:00
verify_heapam.c amcheck: In verify_heapam, allows tuples with xmin 0. 2023-03-28 16:21:29 -04:00
verify_nbtree.c amcheck: Distinguish interrupted page deletion from corruption. 2023-10-30 14:46:09 -07:00