Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit ff8756d

Browse files
committed
More cleanup
1 parent b1444b0 commit ff8756d

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

src/include/access/htup.h

+4-3
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/03 00:32:55 momjian Exp $
9+
* $Id: htup.h,v 1.18 1999/07/03 01: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
#define MinHeapTupleBitmapSize 32 /* 8 * 4 */
2021

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

5354
typedef HeapTupleHeaderData *HeapTupleHeader;
5455

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

5859
#define MaxTupleSize (BLCKSZ/2 - MinTupleSize)
5960

0 commit comments

Comments
 (0)