pgsql: Add contrib/amcheck debug message. - Mailing list pgsql-committers

From Peter Geoghegan
Subject pgsql: Add contrib/amcheck debug message.
Date
Msg-id E1jN4Gc-0003BZ-Ni@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
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(-)


pgsql-committers by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: pgsql: doc: add examples of creative use of unique expressionindexes
Next
From: Andrew Gierth
Date:
Subject: pgsql: doc: restore intentional typo