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

Commitff8756d

Browse files
committed
More cleanup
1 parentb1444b0 commitff8756d

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

‎src/include/access/htup.h

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
*
77
* Copyright (c) 1994, Regents of the University of California
88
*
9-
* $Id: htup.h,v 1.17 1999/07/0300:32:55 momjian Exp $
9+
* $Id: htup.h,v 1.18 1999/07/0301:57:53 momjian Exp $
1010
*
1111
*-------------------------------------------------------------------------
1212
*/
@@ -15,6 +15,7 @@
1515

1616
#include<storage/bufpage.h>
1717
#include<storage/itemptr.h>
18+
#include<utils/memutils.h>
1819

1920
#defineMinHeapTupleBitmapSize32/* 8 * 4 */
2021

@@ -52,8 +53,8 @@ typedef struct HeapTupleHeaderData
5253

5354
typedefHeapTupleHeaderData*HeapTupleHeader;
5455

55-
#defineMinTupleSize(sizeof (PageHeaderData) + \
56-
sizeof(HeapTupleHeaderData) + sizeof(int4))
56+
#defineMinTupleSize(DOUBLEALIGN(sizeof (PageHeaderData) + \
57+
sizeof(HeapTupleHeaderData) + sizeof(int4)))
5758

5859
#defineMaxTupleSize(BLCKSZ/2 - MinTupleSize)
5960

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp