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