pgsql: Add PageData C type

From: Peter Eisentraut <peter(at)eisentraut(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Add PageData C type
Date: 2025-01-20 10:22:43
Message-ID: E1tZova-002XQB-TC@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Add PageData C type

This adds the C type PageData and makes the existing type Page a
pointer to it. This follows the usual PostgreSQL C type naming scheme
of Foo/FooData pairs. (Prior to commit ddbba3aac86, PageData existed
as an unrelated type.) The type definitions are compatible, so this
doesn't change anything except some of the naming.

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/6e4df237fbb532e7807cdd97f8b0b0d85093b9ee

Modified Files
--------------
src/include/storage/bufpage.h | 3 ++-
src/tools/pgindent/typedefs.list | 1 +
2 files changed, 3 insertions(+), 1 deletion(-)

Browse pgsql-committers by date

  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.