@@ -1807,7 +1807,7 @@ _bt_insert_parent(Relation rel,
1807
1807
1808
1808
/* form an index tuple that points at the new right page */
1809
1809
new_item = CopyIndexTuple (ritem );
1810
- BTreeInnerTupleSetDownLink (new_item , rbknum );
1810
+ BTreeTupleSetDownLink (new_item , rbknum );
1811
1811
1812
1812
/*
1813
1813
* Re-find and write lock the parent of buf.
@@ -1991,7 +1991,7 @@ _bt_getstackbuf(Relation rel, BTStack stack, BlockNumber child)
1991
1991
itemid = PageGetItemId (page , offnum );
1992
1992
item = (IndexTuple ) PageGetItem (page , itemid );
1993
1993
1994
- if (BTreeInnerTupleGetDownLink (item ) == child )
1994
+ if (BTreeTupleGetDownLink (item ) == child )
1995
1995
{
1996
1996
/* Return accurate pointer to where link is now */
1997
1997
stack -> bts_blkno = blkno ;
@@ -2007,7 +2007,7 @@ _bt_getstackbuf(Relation rel, BTStack stack, BlockNumber child)
2007
2007
itemid = PageGetItemId (page , offnum );
2008
2008
item = (IndexTuple ) PageGetItem (page , itemid );
2009
2009
2010
- if (BTreeInnerTupleGetDownLink (item ) == child )
2010
+ if (BTreeTupleGetDownLink (item ) == child )
2011
2011
{
2012
2012
/* Return accurate pointer to where link is now */
2013
2013
stack -> bts_blkno = blkno ;
@@ -2096,7 +2096,7 @@ _bt_newroot(Relation rel, Buffer lbuf, Buffer rbuf)
2096
2096
left_item_sz = sizeof (IndexTupleData );
2097
2097
left_item = (IndexTuple ) palloc (left_item_sz );
2098
2098
left_item -> t_info = left_item_sz ;
2099
- BTreeInnerTupleSetDownLink (left_item , lbkno );
2099
+ BTreeTupleSetDownLink (left_item , lbkno );
2100
2100
BTreeTupleSetNAtts (left_item , 0 );
2101
2101
2102
2102
/*
@@ -2107,7 +2107,7 @@ _bt_newroot(Relation rel, Buffer lbuf, Buffer rbuf)
2107
2107
right_item_sz = ItemIdGetLength (itemid );
2108
2108
item = (IndexTuple ) PageGetItem (lpage , itemid );
2109
2109
right_item = CopyIndexTuple (item );
2110
- BTreeInnerTupleSetDownLink (right_item , rbkno );
2110
+ BTreeTupleSetDownLink (right_item , rbkno );
2111
2111
2112
2112
/* NO EREPORT(ERROR) from here till newroot op is logged */
2113
2113
START_CRIT_SECTION ();
0 commit comments