pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Peter Geoghegan <pg@bowt.ie>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Add contrib/amcheck debug message.
Date: Sat, 11 Apr 2020 00:45:02 +0000
Message-ID: <E1jN4Gc-0003BZ-Ni@gemulon.postgresql.org> (raw)

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(-)



Message-ID: <E1jN4Gc-0003BZ-Ni@gemulon.postgresql.org>
Permalink:  ../E1jN4Gc-0003BZ-Ni@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1jN4Gc-0003BZ-Ni@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: pg@bowt.ie
  Subject: Re: pgsql: Add contrib/amcheck debug message.
  In-Reply-To: <E1jN4Gc-0003BZ-Ni@gemulon.postgresql.org>
  References: <E1jN4Gc-0003BZ-Ni@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox