pgsql: Support amcheck of sequences

Started by Peter Eisentrautover 4 years ago1 messagescomitters
Jump to latest
#1Peter Eisentraut
peter_e@gmx.net

Support amcheck of sequences

Sequences were left out of the list of relation kinds that
verify_heapam knew how to check, though it is fairly trivial to allow
them. Doing that, and while at it, updating pg_amcheck to include
sequences in relations matched by table and relation patterns.

Author: Mark Dilger <mark.dilger@enterprisedb.com>
Discussion: /messages/by-id/81ad4757-92c1-4aa3-7bee-f609544837e3@enterprisedb.com

Branch
------
master

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

Modified Files
--------------
contrib/amcheck/expected/check_heap.out | 6 ++-
contrib/amcheck/t/001_verify_heapam.pl | 68 ++++++++++++++++++++++++++++++++-
contrib/amcheck/verify_heapam.c | 10 ++++-
doc/src/sgml/amcheck.sgml | 8 ++--
doc/src/sgml/ref/pg_amcheck.sgml | 15 +++++---
src/bin/pg_amcheck/pg_amcheck.c | 6 +--
6 files changed, 95 insertions(+), 18 deletions(-)