summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBruce Momjian1999-07-03 01:57:53 +0000
committerBruce Momjian1999-07-03 01:57:53 +0000
commitff8756dd1c91750111e2381fdd8b0b5367003031 (patch)
treef645aa54983b4192cf693d3beebfed30f218b9ee /src
parentb1444b093486bcbc3bacfd48b668c87d80b1c454 (diff)
More cleanup
Diffstat (limited to 'src')
-rw-r--r--src/include/access/htup.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/include/access/htup.h b/src/include/access/htup.h
index d4107b9cc2f..9ad5d4e123f 100644
--- a/src/include/access/htup.h
+++ b/src/include/access/htup.h
@@ -6,7 +6,7 @@
*
* Copyright (c) 1994, Regents of the University of California
*
- * $Id: htup.h,v 1.17 1999/07/03 00:32:55 momjian Exp $
+ * $Id: htup.h,v 1.18 1999/07/03 01:57:53 momjian Exp $
*
*-------------------------------------------------------------------------
*/
@@ -15,6 +15,7 @@
#include <storage/bufpage.h>
#include <storage/itemptr.h>
+#include <utils/memutils.h>
#define MinHeapTupleBitmapSize 32 /* 8 * 4 */
@@ -52,8 +53,8 @@ typedef struct HeapTupleHeaderData
typedef HeapTupleHeaderData *HeapTupleHeader;
-#define MinTupleSize (sizeof (PageHeaderData) + \
- sizeof(HeapTupleHeaderData) + sizeof(int4))
+#define MinTupleSize (DOUBLEALIGN(sizeof (PageHeaderData) + \
+ sizeof(HeapTupleHeaderData) + sizeof(int4)))
#define MaxTupleSize (BLCKSZ/2 - MinTupleSize)