Mark ItemPointer arguments as const thoughoutly

Chao Li <li.evan.chao@gmail.com>

From: Chao Li <li.evan.chao@gmail.com>
To: Postgres hackers <pgsql-hackers@lists.postgresql.org>, Peter Eisentraut <peter@eisentraut.org>
Date: 2025-09-10T02:26:42Z
Lists: pgsql-hackers

Attachments

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.

Best regards,
Chao Li (Evan)
---------------------
HighGo Software Co., Ltd.
https://www.highgo.com/

Commits

  1. Mark ItemPointer arguments as const throughout

  2. const-qualify ItemPointer comparison functions

  3. Remove Item type