amcheck: Improve some confusing reports about TOAST problems.
authorRobert Haas <rhaas@postgresql.org>
Mon, 3 May 2021 16:32:05 +0000 (12:32 -0400)
committerRobert Haas <rhaas@postgresql.org>
Mon, 3 May 2021 16:32:05 +0000 (12:32 -0400)
commit50529e5b4e39ad80a637ba0905277f9691eb4a15
tree1a3af28d5aff58af6c8221afe5077a17e1af5a14
parentf68970e33f4dc48094c24c78c452ad730ae9ae12
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
contrib/amcheck/verify_heapam.c