pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Robert Haas <rhaas@postgresql.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: amcheck: Remove duplicate XID/MXID bounds checks.
Date: Wed, 07 Apr 2021 16:11:52 +0000
Message-ID: <E1lUAmW-0000QR-Cf@gemulon.postgresql.org> (raw)

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(-)



Message-ID: <E1lUAmW-0000QR-Cf@gemulon.postgresql.org>
Permalink:  ../E1lUAmW-0000QR-Cf@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1lUAmW-0000QR-Cf@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: rhaas@postgresql.org
  Subject: Re: pgsql: amcheck: Remove duplicate XID/MXID bounds checks.
  In-Reply-To: <E1lUAmW-0000QR-Cf@gemulon.postgresql.org>
  References: <E1lUAmW-0000QR-Cf@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox