projects
/
users
/
bernd
/
postgres.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
50ebc3a
)
More cleanup
author
Bruce Momjian
<bruce@momjian.us>
Sat, 3 Jul 1999 01:57:53 +0000
(
01:57
+0000)
committer
Bruce Momjian
<bruce@momjian.us>
Sat, 3 Jul 1999 01:57:53 +0000
(
01:57
+0000)
src/include/access/htup.h
patch
|
blob
|
blame
|
history
diff --git
a/src/include/access/htup.h
b/src/include/access/htup.h
index 69a3182ca9cd5b57cda030a4667bc70ed8483723..c5e1836ce29957bcbe70af0c30126ebd67f88a5d 100644
(file)
--- a/
src/include/access/htup.h
+++ b/
src/include/access/htup.h
@@
-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)