pgsql: amcheck: Fix thinko with check of TOASTed attribute - Mailing list pgsql-committers

From Michael Paquier
Subject pgsql: amcheck: Fix thinko with check of TOASTed attribute
Date
Msg-id E1x6Nwx-00000000PBJ-1ekN@gemulon.postgresql.org
Whole thread
List pgsql-committers
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(-)


pgsql-committers by date:

Previous
From: Daniel Gustafsson
Date:
Subject: Re: pgsql: Do not adopt data checksum state from another node during replay
Next
From: Peter Eisentraut
Date:
Subject: pgsql: Revert UPDATE/DELETE FOR PORTION OF