Mark ItemPointer arguments as const throughout

Peter Eisentraut <peter@eisentraut.org>

Commit: e1ac846f3d2836dcfa0ad15310e28d0a0b495500
Author: Peter Eisentraut <peter@eisentraut.org>
Date: 2025-10-30T13:12:06Z
Mark ItemPointer arguments as const throughout

This is a follow up 991295f.  I searched over src/ and made all
ItemPointer arguments as const as much as possible.

Note: We cut out from the original patch the pieces that would have
created incompatibilities in the index or table AM APIs.  Those could
be considered separately.

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

Files

Discussion