Add contrib/amcheck debug message.
authorPeter Geoghegan <pg@bowt.ie>
Sat, 11 Apr 2020 00:44:08 +0000 (17:44 -0700)
committerPeter Geoghegan <pg@bowt.ie>
Sat, 11 Apr 2020 00:44:08 +0000 (17:44 -0700)
commit20fbb711ef43ef70093378ff5efdf1b6e8cc10d8
tree688ec261c8b73f55f08b5fa7efd48df64dc5de8b
parentf333d35428c1cba8d35065b6dbb2dd46e18bd929
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.
contrib/amcheck/verify_nbtree.c
doc/src/sgml/amcheck.sgml