Add const qualifiers to bufpage.h
Peter Eisentraut <peter@eisentraut.org>
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
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/storage/page/bufpage.c | modified | +16 −16 |
| src/include/storage/bufpage.h | modified | +37 −38 |
Discussion
- some Page/PageData const stuff 6 messages · 2024-12-09 → 2026-01-04