amcheck: Remove duplicate XID/MXID bounds checks.

Robert Haas <rhaas@postgresql.org>

Commit: 4573f6a9af6e232ba073392716a051ae2017d1e9
Author: Robert Haas <rhaas@postgresql.org>
Date: 2021-04-07T16:11:44Z
Releases: 14.0
amcheck: Remove duplicate XID/MXID bounds checks.

Commit 3b6c1259f9ca8e21860aaf24ec6735a8e5598ea0 resulted in the same
xmin and xmax bounds checking being performed in both check_tuple()
and check_tuple_visibility(). Remove the duplication.

While at it, adjust some code comments that were overlooked in that
commit.

Mark Dilger

Discussion: http://postgr.es/m/AC5479E4-6321-473D-AC92-5EC36299FBC2@enterprisedb.com

Files

PathChange+/−
contrib/amcheck/verify_heapam.c modified +6 −124

Discussion