| From: | Peter Eisentraut <peter(at)eisentraut(dot)org> |
|---|---|
| To: | pgsql-committers(at)lists(dot)postgresql(dot)org |
| Subject: | pgsql: Add const qualifiers to bufpage.h |
| Date: | 2025-01-20 10:22:43 |
| Message-ID: | E1tZova-002XQD-Tl@gemulon.postgresql.org |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-committers |
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(at)eisentraut(dot)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(-)
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Peter Eisentraut | 2025-01-20 12:12:04 | pgsql: Add some more use of Page/PageData rather than char * |
| Previous Message | Thomas Munro | 2025-01-20 04:01:13 | pgsql: Fix latch event policy that hid socket events. |