pgsql: amcheck: Fix thinko with check of TOASTed attribute

Started by Michael Paquier2 months ago1 messagescommitters
Jump to latest
#1Michael Paquier
michael@paquier.xyz

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: /messages/by-id/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(-)