1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-30 11:03:19 +03:00

More cleanup

This commit is contained in:
Bruce Momjian
1999-07-03 01:57:53 +00:00
parent b1444b0934
commit ff8756dd1c

View File

@ -6,7 +6,7 @@
* *
* Copyright (c) 1994, Regents of the University of California * 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/bufpage.h>
#include <storage/itemptr.h> #include <storage/itemptr.h>
#include <utils/memutils.h>
#define MinHeapTupleBitmapSize 32 /* 8 * 4 */ #define MinHeapTupleBitmapSize 32 /* 8 * 4 */
@ -52,8 +53,8 @@ typedef struct HeapTupleHeaderData
typedef HeapTupleHeaderData *HeapTupleHeader; typedef HeapTupleHeaderData *HeapTupleHeader;
#define MinTupleSize (sizeof (PageHeaderData) + \ #define MinTupleSize (DOUBLEALIGN(sizeof (PageHeaderData) + \
sizeof(HeapTupleHeaderData) + sizeof(int4)) sizeof(HeapTupleHeaderData) + sizeof(int4)))
#define MaxTupleSize (BLCKSZ/2 - MinTupleSize) #define MaxTupleSize (BLCKSZ/2 - MinTupleSize)