From: Peter Eisentraut <peter@eisentraut.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Add const qualifiers to bufpage.h
Date: Mon, 20 Jan 2025 10:22:43 +0000
Message-ID: <E1tZova-002XQD-Tl@gemulon.postgresql.org> (raw)
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-da224cc2800e@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 instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-committers@postgresql.org
Cc: peter@eisentraut.org, pgsql-committers@lists.postgresql.org
Subject: Re: pgsql: Add const qualifiers to bufpage.h
In-Reply-To: <E1tZova-002XQD-Tl@gemulon.postgresql.org>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox