@@ -269,7 +269,7 @@ static void _bt_spooldestroy(BTSpool *btspool);
269269static void _bt_spool (BTSpool * btspool , ItemPointer self ,
270270 Datum * values , bool * isnull );
271271static void _bt_leafbuild (BTSpool * btspool , BTSpool * btspool2 );
272- static void _bt_build_callback (Relation index , HeapTuple htup , Datum * values ,
272+ static void _bt_build_callback (Relation index , ItemPointer tid , Datum * values ,
273273 bool * isnull , bool tupleIsAlive , void * state );
274274static Page _bt_blnewpage (uint32 level );
275275static BTPageState * _bt_pagestate (BTWriteState * wstate , uint32 level );
@@ -585,7 +585,7 @@ _bt_leafbuild(BTSpool *btspool, BTSpool *btspool2)
585585 */
586586static void
587587_bt_build_callback (Relation index ,
588- HeapTuple htup ,
588+ ItemPointer tid ,
589589 Datum * values ,
590590 bool * isnull ,
591591 bool tupleIsAlive ,
@@ -598,12 +598,12 @@ _bt_build_callback(Relation index,
598598 * processing
599599 */
600600 if (tupleIsAlive || buildstate -> spool2 == NULL )
601- _bt_spool (buildstate -> spool , & htup -> t_self , values , isnull );
601+ _bt_spool (buildstate -> spool , tid , values , isnull );
602602 else
603603 {
604604 /* dead tuples are put into spool2 */
605605 buildstate -> havedead = true;
606- _bt_spool (buildstate -> spool2 , & htup -> t_self , values , isnull );
606+ _bt_spool (buildstate -> spool2 , tid , values , isnull );
607607 }
608608
609609 buildstate -> indtuples += 1 ;
0 commit comments