File tree 1 file changed +4
-3
lines changed
1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change 6
6
*
7
7
* Copyright (c) 1994, Regents of the University of California
8
8
*
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 $
10
10
*
11
11
*-------------------------------------------------------------------------
12
12
*/
15
15
16
16
#include <storage/bufpage.h>
17
17
#include <storage/itemptr.h>
18
+ #include <utils/memutils.h>
18
19
19
20
#define MinHeapTupleBitmapSize 32 /* 8 * 4 */
20
21
@@ -52,8 +53,8 @@ typedef struct HeapTupleHeaderData
52
53
53
54
typedef HeapTupleHeaderData * HeapTupleHeader ;
54
55
55
- #define MinTupleSize (sizeof (PageHeaderData) + \
56
- sizeof(HeapTupleHeaderData) + sizeof(int4))
56
+ #define MinTupleSize (DOUBLEALIGN( sizeof (PageHeaderData) + \
57
+ sizeof(HeapTupleHeaderData) + sizeof(int4)))
57
58
58
59
#define MaxTupleSize (BLCKSZ/2 - MinTupleSize)
59
60
You can’t perform that action at this time.
0 commit comments