Commit bf6285b3 authored by Simon Riggs's avatar Simon Riggs

Further corrections of mismatching struct and btree SizeOf macros.

In this case, correction is to remove now unused fields from struct.
Since these were unused and full of garbage anyway, no version change.
parent 128b1c50
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
* Portions Copyright (c) 1996-2010, PostgreSQL Global Development Group * Portions Copyright (c) 1996-2010, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California * 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 ...@@ -317,7 +317,6 @@ typedef struct xl_btree_delete
RelFileNode node; RelFileNode node;
BlockNumber block; BlockNumber block;
TransactionId latestRemovedXid; TransactionId latestRemovedXid;
int numItems; /* number of items in the offset array */
/* TARGET OFFSET NUMBERS FOLLOW AT THE END */ /* TARGET OFFSET NUMBERS FOLLOW AT THE END */
} xl_btree_delete; } xl_btree_delete;
...@@ -363,7 +362,6 @@ typedef struct xl_btree_vacuum ...@@ -363,7 +362,6 @@ typedef struct xl_btree_vacuum
RelFileNode node; RelFileNode node;
BlockNumber block; BlockNumber block;
BlockNumber lastBlockVacuumed; BlockNumber lastBlockVacuumed;
int numItems; /* number of items in the offset array */
/* TARGET OFFSET NUMBERS FOLLOW */ /* TARGET OFFSET NUMBERS FOLLOW */
} xl_btree_vacuum; } xl_btree_vacuum;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment