agora inbox for pgsql-committers@postgresql.org  
help / color / mirror / Atom feed
From: Michael Paquier <michael@paquier.xyz>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: amcheck: Fix thinko with check of TOASTed attribute
Date: Tue, 15 Sep 2026 07:51:31 +0000
Message-ID: <E1x6Nwx-00000000PBJ-1ekN@gemulon.postgresql.org> (raw)

amcheck: Fix thinko with check of TOASTed attribute

A chunk_id type that does not match with one of the expected values (oid
or oid8) was missing a "return" clause.  This caused the code to report
two corruptions instead of one.

Oversight in 6e58d6356fcb.

Discussion: https://postgr.es/m/aqju1K96ex28yz2X@paquier.xyz

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/0d34736e4c1629ba12fd4c848984308f2037998f

Modified Files
--------------
contrib/amcheck/verify_heapam.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)



Message-ID: <E1x6Nwx-00000000PBJ-1ekN@gemulon.postgresql.org>
Permalink:  ../E1x6Nwx-00000000PBJ-1ekN@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1x6Nwx-00000000PBJ-1ekN@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 using the --to and --cc options:
  reply via email

  To: pgsql-committers@postgresql.org
  Cc: michael@paquier.xyz, pgsql-committers@lists.postgresql.org
  Subject: Re: pgsql: amcheck: Fix thinko with check of TOASTed attribute
  In-Reply-To: <E1x6Nwx-00000000PBJ-1ekN@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 agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox