pgsql: Remove bogus const qualifier on PageGetItem() argument
Started by Peter Eisentraut6 months ago1 messagescomitters
Remove bogus const qualifier on PageGetItem() argument
The function ends up casting away the const qualifier, so it was a
lie. No callers appear to rely on the const qualifier on the
argument, so the simplest solution is to just remove it.
Reviewed-by: Andres Freund <andres@anarazel.de>
Discussion: /messages/by-id/beusplf77varvhip6ryuhd2fchsx26qmmhduqz432bnglq634b@2dx4k6yxj4cm
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/0eadf1767ab8dec03135feaff8cd9e38881c1960
Modified Files
--------------
src/include/storage/bufpage.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)