7
7
*
8
8
*
9
9
* IDENTIFICATION
10
- * $Header: /cvsroot/pgsql/src/backend/commands/vacuum.c,v 1.100 1999/05/01 19:09:46 tgl Exp $
10
+ * $Header: /cvsroot/pgsql/src/backend/commands/vacuum.c,v 1.101 1999/05/09 14:00:29 vadim Exp $
11
11
*
12
12
*-------------------------------------------------------------------------
13
13
*/
@@ -1350,7 +1350,7 @@ vc_rpfheap(VRelStats *vacrelstats, Relation onerel,
1350
1350
*/
1351
1351
ToPage = BufferGetPage (cur_buffer );
1352
1352
/* if this page was not used before - clean it */
1353
- if (!PageIsEmpty (ToPage ) && vtmove [i ].cleanVpd )
1353
+ if (!PageIsEmpty (ToPage ) && vtmove [ti ].cleanVpd )
1354
1354
vc_vacpage (ToPage , vtmove [ti ].vpd );
1355
1355
heap_copytuple_with_tuple (& tuple , & newtup );
1356
1356
RelationInvalidateHeapTuple (onerel , & tuple );
@@ -1369,7 +1369,7 @@ moving chain: failed to add item with len = %u to page %u",
1369
1369
newitemid = PageGetItemId (ToPage , newoff );
1370
1370
pfree (newtup .t_data );
1371
1371
newtup .t_data = (HeapTupleHeader ) PageGetItem (ToPage , newitemid );
1372
- ItemPointerSet (& (newtup .t_self ), vtmove [i ].vpd -> vpd_blkno , newoff );
1372
+ ItemPointerSet (& (newtup .t_self ), vtmove [ti ].vpd -> vpd_blkno , newoff );
1373
1373
/*
1374
1374
* Set t_ctid pointing to itself for last tuple in
1375
1375
* chain and to next tuple in chain otherwise.
0 commit comments