const-qualify ItemPointer comparison functions
authorPeter Eisentraut <peter@eisentraut.org>
Thu, 30 Oct 2025 08:38:52 +0000 (09:38 +0100)
committerPeter Eisentraut <peter@eisentraut.org>
Thu, 30 Oct 2025 09:13:47 +0000 (10:13 +0100)
commit3479a0f823d5a6c3ec61dff6b11ea5250389e56a
tree9d5ea0884cbb6a44baa8fff8cf65468191c9129b
parente2cf524e4ad8a8667033628ca106fb7c9ebcd207
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.gmail.com
src/backend/storage/page/itemptr.c
src/include/storage/itemptr.h