pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Peter Eisentraut <peter@eisentraut.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: const-qualify ItemPointer comparison functions
Date: Thu, 30 Oct 2025 09:18:27 +0000
Message-ID: <E1vEOnb-004Dmv-04@gemulon.postgresql.org> (raw)

const-qualify ItemPointer comparison functions

Add const qualifiers to ItemPointerEquals() and ItemPointerCompare().
This will allow further changes up the stack.  It also complements
commit aeb767ca0b0, as we now have all of itemptr.h appropriately
const-qualified.

Author: Chao Li <li.evan.chao@gmail.com>
Discussion: https://www.postgresql.org/message-id/flat/CAEoWx2nBaypg16Z5ciHuKw66pk850RFWw9ACS2DqqJ_AkKeRsw@mail....

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/3479a0f823d5a6c3ec61dff6b11ea5250389e56a

Modified Files
--------------
src/backend/storage/page/itemptr.c | 4 ++--
src/include/storage/itemptr.h      | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)



Message-ID: <E1vEOnb-004Dmv-04@gemulon.postgresql.org>
Permalink:  ../E1vEOnb-004Dmv-04@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1vEOnb-004Dmv-04@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 using the --to and --cc options:
  reply via email

  To: pgsql-committers@postgresql.org
  Cc: peter@eisentraut.org, pgsql-committers@lists.postgresql.org
  Subject: Re: pgsql: const-qualify ItemPointer comparison functions
  In-Reply-To: <E1vEOnb-004Dmv-04@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