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/[email protected]

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

Reply via email to