Extend amcheck to check heap pages.
authorRobert Haas <rhaas@postgresql.org>
Thu, 22 Oct 2020 12:44:18 +0000 (08:44 -0400)
committerRobert Haas <rhaas@postgresql.org>
Thu, 22 Oct 2020 12:44:18 +0000 (08:44 -0400)
commit866e24d47db1743dfcff5bd595b57e3a143f2cb1
tree8a0ed0502ebba60526dcb77f13522c6cae4684e9
parentf8721bd752790859df747905bc44fb5ad8dbf07d
Extend amcheck to check heap pages.

Mark Dilger, reviewed by Peter Geoghegan, Andres Freund, Álvaro Herrera,
Michael Paquier, Amul Sul, and by me. Some last-minute cosmetic
revisions by me.

Discussion: http://postgr.es/m/12ED3DA8-25F0-4B68-937D-D907CFBF08E7@enterprisedb.com
12 files changed:
contrib/amcheck/Makefile
contrib/amcheck/amcheck--1.2--1.3.sql [new file with mode: 0644]
contrib/amcheck/amcheck.control
contrib/amcheck/expected/check_heap.out [new file with mode: 0644]
contrib/amcheck/sql/check_heap.sql [new file with mode: 0644]
contrib/amcheck/t/001_verify_heapam.pl [new file with mode: 0644]
contrib/amcheck/verify_heapam.c [new file with mode: 0644]
doc/src/sgml/amcheck.sgml
src/backend/access/heap/hio.c
src/backend/access/transam/multixact.c
src/include/access/multixact.h
src/tools/pgindent/typedefs.list