pgsql: Add contrib/amcheck debug message.

From: Peter Geoghegan <pg(at)bowt(dot)ie>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Add contrib/amcheck debug message.
Date: 2020-04-11 00:45:02
Message-ID: E1jN4Gc-0003BZ-Ni@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Andrew Gierth 2020-04-11 07:15:34 pgsql: doc: restore intentional typo
Previous Message Bruce Momjian 2020-04-11 00:17:09 Re: pgsql: doc: add examples of creative use of unique expression indexes