amcheck: Improve some confusing reports about TOAST problems.

Robert Haas <rhaas@postgresql.org>

Commit: 50529e5b4e39ad80a637ba0905277f9691eb4a15
Author: Robert Haas <rhaas@postgresql.org>
Date: 2021-05-03T16:32:05Z
Releases: 14.0
amcheck: Improve some confusing reports about TOAST problems.

Don't phrase reports in terms of the number of tuples thus-far
returned by the index scan, but rather in terms of the chunk_seq
values found inside the tuples.

Patch by me, reviewed by Mark Dilger.

Discussion: http://postgr.es/m/CA+TgmoZUONCkdcdR778EKuE+f1r5Obieu63db2OgMPHaEvEPTQ@mail.gmail.com

Files

PathChange+/−
contrib/amcheck/verify_heapam.c modified +40 −35

Discussion