amcheck: Fix verify_heapam's tuple visibility checking rules.
authorRobert Haas <rhaas@postgresql.org>
Thu, 1 Apr 2021 17:36:28 +0000 (13:36 -0400)
committerRobert Haas <rhaas@postgresql.org>
Thu, 1 Apr 2021 17:36:28 +0000 (13:36 -0400)
commit3b6c1259f9ca8e21860aaf24ec6735a8e5598ea0
tree77eec69365d69743d2e812555d3fcd2f821cb389
parentec03f2df17a8ba5b431b34dd924e020a0be729f6
amcheck: Fix verify_heapam's tuple visibility checking rules.

We now follow the order of checks from HeapTupleSatisfies* more
closely to avoid coming to erroneous conclusions.

Mark Dilger and Robert Haas

Discussion: http://postgr.es/m/CA+Tgmob6sii0yTvULYJ0Vq4w6ZBmj7zUhddL3b+SKDi9z9NA7Q@mail.gmail.com
contrib/amcheck/verify_heapam.c