@@ -1807,7 +1807,7 @@ _bt_insert_parent(Relation rel,
18071807
18081808 /* form an index tuple that points at the new right page */
18091809 new_item = CopyIndexTuple (ritem );
1810- BTreeInnerTupleSetDownLink (new_item , rbknum );
1810+ BTreeTupleSetDownLink (new_item , rbknum );
18111811
18121812 /*
18131813 * Re-find and write lock the parent of buf.
@@ -1991,7 +1991,7 @@ _bt_getstackbuf(Relation rel, BTStack stack, BlockNumber child)
19911991 itemid = PageGetItemId (page , offnum );
19921992 item = (IndexTuple ) PageGetItem (page , itemid );
19931993
1994- if (BTreeInnerTupleGetDownLink (item ) == child )
1994+ if (BTreeTupleGetDownLink (item ) == child )
19951995 {
19961996 /* Return accurate pointer to where link is now */
19971997 stack -> bts_blkno = blkno ;
@@ -2007,7 +2007,7 @@ _bt_getstackbuf(Relation rel, BTStack stack, BlockNumber child)
20072007 itemid = PageGetItemId (page , offnum );
20082008 item = (IndexTuple ) PageGetItem (page , itemid );
20092009
2010- if (BTreeInnerTupleGetDownLink (item ) == child )
2010+ if (BTreeTupleGetDownLink (item ) == child )
20112011 {
20122012 /* Return accurate pointer to where link is now */
20132013 stack -> bts_blkno = blkno ;
@@ -2096,7 +2096,7 @@ _bt_newroot(Relation rel, Buffer lbuf, Buffer rbuf)
20962096 left_item_sz = sizeof (IndexTupleData );
20972097 left_item = (IndexTuple ) palloc (left_item_sz );
20982098 left_item -> t_info = left_item_sz ;
2099- BTreeInnerTupleSetDownLink (left_item , lbkno );
2099+ BTreeTupleSetDownLink (left_item , lbkno );
21002100 BTreeTupleSetNAtts (left_item , 0 );
21012101
21022102 /*
@@ -2107,7 +2107,7 @@ _bt_newroot(Relation rel, Buffer lbuf, Buffer rbuf)
21072107 right_item_sz = ItemIdGetLength (itemid );
21082108 item = (IndexTuple ) PageGetItem (lpage , itemid );
21092109 right_item = CopyIndexTuple (item );
2110- BTreeInnerTupleSetDownLink (right_item , rbkno );
2110+ BTreeTupleSetDownLink (right_item , rbkno );
21112111
21122112 /* NO EREPORT(ERROR) from here till newroot op is logged */
21132113 START_CRIT_SECTION ();
0 commit comments