From ff8756dd1c91750111e2381fdd8b0b5367003031 Mon Sep 17 00:00:00 2001 From: Bruce Momjian Date: Sat, 3 Jul 1999 01:57:53 +0000 Subject: [PATCH] More cleanup --- src/include/access/htup.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/include/access/htup.h b/src/include/access/htup.h index d4107b9cc2..9ad5d4e123 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 #include +#include #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) -- 2.40.0