diff options
| author | Peter Eisentraut | 2025-01-20 09:53:47 +0000 |
|---|---|---|
| committer | Peter Eisentraut | 2025-01-20 10:06:49 +0000 |
| commit | 6e4df237fbb532e7807cdd97f8b0b0d85093b9ee (patch) | |
| tree | a347dac78cb277331dac611da85abf9bd99218ac /src/include | |
| parent | 73f6b9a3b0fe161cd3d35b1e3109cd47864a4b33 (diff) | |
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@eisentraut.org
Diffstat (limited to 'src/include')
| -rw-r--r-- | src/include/storage/bufpage.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/include/storage/bufpage.h b/src/include/storage/bufpage.h index 4007438719a..c28ec1fb1d7 100644 --- a/src/include/storage/bufpage.h +++ b/src/include/storage/bufpage.h @@ -78,7 +78,8 @@ extern PGDLLIMPORT bool ignore_checksum_failure; * fields. */ -typedef Pointer Page; +typedef char PageData; +typedef PageData *Page; /* |
