Add const qualifiers to bufpage.h

This makes use of the new PageData type.

PageGetSpecialPointer() had to be turned back into a macro, because it
is used in a way that sometimes it takes const and returns const and
sometimes takes non-const and returns non-const.

Discussion: 
https://www.postgresql.org/message-id/flat/692ee0da-49da-4d32-8dca-da224cc28...@eisentraut.org

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/4f4a1d853a5c2d31f11c56939c44aa917e77c1da

Modified Files
--------------
src/backend/storage/page/bufpage.c | 32 ++++++++--------
src/include/storage/bufpage.h      | 75 +++++++++++++++++++-------------------
2 files changed, 53 insertions(+), 54 deletions(-)

Reply via email to