pgsql: amcheck: Remove duplicate XID/MXID bounds checks. - Mailing list pgsql-committers

From Robert Haas
Subject pgsql: amcheck: Remove duplicate XID/MXID bounds checks.
Date
Msg-id E1lUAmW-0000QR-Cf@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
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

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/4573f6a9af6e232ba073392716a051ae2017d1e9

Modified Files
--------------
contrib/amcheck/verify_heapam.c | 130 ++--------------------------------------
1 file changed, 6 insertions(+), 124 deletions(-)


pgsql-committers by date:

Previous
From: Peter Geoghegan
Date:
Subject: pgsql: Truncate line pointer array during VACUUM.
Next
From: Jacob Champion
Date:
Subject: Re: pgsql: Add some information about authenticated identity via log_connec