Re: Mark ItemPointer arguments as const thoughoutly

Nazir Bilal Yavuz <byavuz81@gmail.com>

From: Nazir Bilal Yavuz <byavuz81@gmail.com>
To: Chao Li <li.evan.chao@gmail.com>
Cc: Postgres hackers <pgsql-hackers@lists.postgresql.org>, Peter Eisentraut <peter@eisentraut.org>
Date: 2025-09-10T10:42:07Z
Lists: pgsql-hackers
Hi,

On Wed, 10 Sept 2025 at 05:27, Chao Li <li.evan.chao@gmail.com> wrote:
>
> Hi Hacker,
>
> This is a follow up 991295f. I searched over the src/ and make all ItemPointer arguments as const as much as possible.
>
> I made clean build and no waring found. And "make check" also passes. I will create a patch on CF to see if CI passes.

If you would like to run CI yourself, you can do so by forking the
Postgres GitHub repository and enabling Cirrus CI on your fork. Once
that is done, each commit will trigger a CI run. More details are
available in the README [1].

[1] https://git.postgresql.org/cgit/postgresql.git/tree/src/tools/ci/README

-- 
Regards,
Nazir Bilal Yavuz
Microsoft



Commits

  1. Mark ItemPointer arguments as const throughout

  2. const-qualify ItemPointer comparison functions

  3. Remove Item type