Fix a confusing amcheck corruption message.
Robert Haas <rhaas@postgresql.org>
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/AA5506CE-7D2A-42E4-A51D-358635E3722D@enterprisedb.com
Files
| Path | Change | +/− |
|---|---|---|
| contrib/amcheck/verify_heapam.c | modified | +4 −4 |
| src/bin/pg_amcheck/t/004_verify_heapam.pl | modified | +1 −2 |
Discussion
- pg_amcheck contrib application 161 messages · 2021-03-03 → 2021-05-03