diff options
Diffstat (limited to 'src/include/access/itup.h')
-rw-r--r-- | src/include/access/itup.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/include/access/itup.h b/src/include/access/itup.h index eb637b81ea4..ae53accde7c 100644 --- a/src/include/access/itup.h +++ b/src/include/access/itup.h @@ -7,7 +7,7 @@ * Portions Copyright (c) 1996-2008, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * - * $PostgreSQL: pgsql/src/include/access/itup.h,v 1.49 2008/01/01 19:45:56 momjian Exp $ + * $PostgreSQL: pgsql/src/include/access/itup.h,v 1.50 2008/07/13 20:45:47 tgl Exp $ * *------------------------------------------------------------------------- */ @@ -134,7 +134,7 @@ typedef IndexAttributeBitMapData *IndexAttributeBitMap; * must be maxaligned, and it must have an associated item pointer. */ #define MaxIndexTuplesPerPage \ - ((int) ((BLCKSZ - offsetof(PageHeaderData, pd_linp)) / \ + ((int) ((BLCKSZ - SizeOfPageHeaderData) / \ (MAXALIGN(sizeof(IndexTupleData) + 1) + sizeof(ItemIdData)))) |