pgsql: amcheck: Remove duplicate XID/MXID bounds checks.

From: Robert Haas <rhaas(at)postgresql(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: amcheck: Remove duplicate XID/MXID bounds checks.
Date: 2021-04-07 16:11:52
Message-ID: E1lUAmW-0000QR-Cf@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Jacob Champion 2021-04-07 16:20:18 Re: pgsql: Add some information about authenticated identity via log_connec
Previous Message Peter Geoghegan 2021-04-07 15:48:13 pgsql: Truncate line pointer array during VACUUM.