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

Commitd92c370

Browse files
committed
Clean up buildfarm failures arising from the seemingly straightforward page
macros patch :-(. Results from both baiji and mastodon imply that MSVCfails to perceive offsetof(PageHeaderData, pd_linp[0]) as a constantexpression in some contexts where offsetof(PageHeaderData, pd_linp) worksfine. Sloth, thy name is Micro.
1 parent6f6d863 commitd92c370

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

‎src/include/storage/bufpage.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* Portions Copyright (c) 1996-2008, PostgreSQL Global Development Group
88
* Portions Copyright (c) 1994, Regents of the University of California
99
*
10-
* $PostgreSQL: pgsql/src/include/storage/bufpage.h,v 1.82 2008/07/13 21:50:04 tgl Exp $
10+
* $PostgreSQL: pgsql/src/include/storage/bufpage.h,v 1.83 2008/07/14 03:22:32 tgl Exp $
1111
*
1212
*-------------------------------------------------------------------------
1313
*/
@@ -179,9 +179,9 @@ typedef PageHeaderData *PageHeader;
179179
#definePageIsValid(page) PointerIsValid(page)
180180

181181
/*
182-
* line pointer does not count as part of header
182+
* line pointer(s) do not count as part of header
183183
*/
184-
#defineSizeOfPageHeaderData (offsetof(PageHeaderData, pd_linp[0]))
184+
#defineSizeOfPageHeaderData (offsetof(PageHeaderData, pd_linp))
185185

186186
/*
187187
* PageIsEmpty

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp