Thread: pgsql: Add contrib/amcheck debug message.

pgsql: Add contrib/amcheck debug message.

From
Peter Geoghegan
Date:
Add contrib/amcheck debug message.

Add a DEBUG1 message indicating that verification of the index structure
is underway.  Also reduce the severity level of the existing "tree
level" debug message to DEBUG1.  It should never have been made DEBUG2.
Any B-Tree index with more than a couple of levels will generally also
have so many pages that the per-page DEBUG2 messages will become
completely unmanageable.

In passing, add a new "Tip" to the docs that advises users that run into
corruption that the debug messages might provide useful additional
context.

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/20fbb711ef43ef70093378ff5efdf1b6e8cc10d8

Modified Files
--------------
contrib/amcheck/verify_nbtree.c |  9 ++++++++-
doc/src/sgml/amcheck.sgml       | 21 +++++++++++++++++++++
2 files changed, 29 insertions(+), 1 deletion(-)