Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit6e4df23

Browse files
committed
Add PageData C type
This adds the C type PageData and makes the existing type Page apointer to it. This follows the usual PostgreSQL C type naming schemeof Foo/FooData pairs. (Prior to commitddbba3a, PageData existedas an unrelated type.) The type definitions are compatible, so thisdoesn't change anything except some of the naming.Discussion:https://www.postgresql.org/message-id/flat/692ee0da-49da-4d32-8dca-da224cc2800e@eisentraut.org
1 parent73f6b9a commit6e4df23

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

‎src/include/storage/bufpage.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,8 @@ extern PGDLLIMPORT bool ignore_checksum_failure;
7878
* fields.
7979
*/
8080

81-
typedefPointerPage;
81+
typedefcharPageData;
82+
typedefPageData*Page;
8283

8384

8485
/*

‎src/tools/pgindent/typedefs.list

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1986,6 +1986,7 @@ PX_Combo
19861986
PX_HMAC
19871987
PX_MD
19881988
Page
1989+
PageData
19891990
PageGistNSN
19901991
PageHeader
19911992
PageHeaderData

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp