pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Robert Haas <rhaas@postgresql.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Fix a confusing amcheck corruption message.
Date: Tue, 16 Mar 2021 19:48:14 +0000
Message-ID: <E1lMFfq-0006gL-UQ@gemulon.postgresql.org> (raw)

Fix a confusing amcheck corruption message.

Don't complain about the last TOAST chunk number being different
from what we expected if there are no TOAST chunks at all.
In such a case, saying that the final chunk number is 0 is not
really accurate, and the fact the value is missing from the
TOAST table is reported separately anyway.

Mark Dilger

Discussion: http://postgr.es/m/AA5506CE-7D2A-42E4-A51D-358635E3722D@enterprisedb.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/4078ce65a0f7197180a9be2c6460ea4bf909bd98

Modified Files
--------------
contrib/amcheck/verify_heapam.c           | 8 ++++----
src/bin/pg_amcheck/t/004_verify_heapam.pl | 3 +--
2 files changed, 5 insertions(+), 6 deletions(-)



Message-ID: <E1lMFfq-0006gL-UQ@gemulon.postgresql.org>
Permalink:  ../E1lMFfq-0006gL-UQ@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1lMFfq-0006gL-UQ@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: rhaas@postgresql.org
  Subject: Re: pgsql: Fix a confusing amcheck corruption message.
  In-Reply-To: <E1lMFfq-0006gL-UQ@gemulon.postgresql.org>
  References: <E1lMFfq-0006gL-UQ@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