Extend amcheck to check heap pages.
Robert Haas <rhaas@postgresql.org>
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
Files
| Path | Change | +/− |
|---|---|---|
| contrib/amcheck/amcheck--1.2--1.3.sql | added | +30 −0 |
| contrib/amcheck/amcheck.control | modified | +1 −1 |
| contrib/amcheck/expected/check_heap.out | added | +194 −0 |
| contrib/amcheck/Makefile | modified | +5 −2 |
| contrib/amcheck/sql/check_heap.sql | added | +116 −0 |
| contrib/amcheck/t/001_verify_heapam.pl | added | +242 −0 |
| contrib/amcheck/verify_heapam.c | added | +1447 −0 |
| doc/src/sgml/amcheck.sgml | modified | +229 −6 |
| src/backend/access/heap/hio.c | modified | +11 −0 |
| src/backend/access/transam/multixact.c | modified | +19 −0 |
| src/include/access/multixact.h | modified | +1 −0 |
| src/tools/pgindent/typedefs.list | modified | +4 −0 |
Documentation touched
Discussion
- new heapcheck contrib module 220 messages · 2020-04-20 → 2021-03-02