amcheck: Fix verify_heapam's tuple visibility checking rules.

Robert Haas <rhaas@postgresql.org>

Commit: 3b6c1259f9ca8e21860aaf24ec6735a8e5598ea0
Author: Robert Haas <rhaas@postgresql.org>
Date: 2021-04-01T17:36:28Z
Releases: 14.0
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

Files

PathChange+/−
contrib/amcheck/verify_heapam.c modified +414 −141

Discussion