Further corrections of mismatching struct and btree SizeOf macros.
authorSimon Riggs
Sat, 20 Mar 2010 07:49:48 +0000 (07:49 +0000)
committerSimon Riggs
Sat, 20 Mar 2010 07:49:48 +0000 (07:49 +0000)
In this case, correction is to remove now unused fields from struct.
Since these were unused and full of garbage anyway, no version change.

src/include/access/nbtree.h

index 15d8b321aef5d8d0bc05f6c3b376259630017e7e..e00594b487d67609d898191b7c921a6813019f56 100644 (file)
@@ -7,7 +7,7 @@
  * Portions Copyright (c) 1996-2010, PostgreSQL Global Development Group
  * Portions Copyright (c) 1994, Regents of the University of California
  *
- * $PostgreSQL: pgsql/src/include/access/nbtree.h,v 1.132 2010/03/19 20:51:30 tgl Exp $
+ * $PostgreSQL: pgsql/src/include/access/nbtree.h,v 1.133 2010/03/20 07:49:48 sriggs Exp $
  *
  *-------------------------------------------------------------------------
  */
@@ -317,7 +317,6 @@ typedef struct xl_btree_delete
    RelFileNode node;
    BlockNumber block;
    TransactionId latestRemovedXid;
-   int         numItems;       /* number of items in the offset array */
 
    /* TARGET OFFSET NUMBERS FOLLOW AT THE END */
 } xl_btree_delete;
@@ -363,7 +362,6 @@ typedef struct xl_btree_vacuum
    RelFileNode node;
    BlockNumber block;
    BlockNumber lastBlockVacuumed;
-   int         numItems;       /* number of items in the offset array */
 
    /* TARGET OFFSET NUMBERS FOLLOW */
 } xl_btree_vacuum;