@@ -44,7 +44,7 @@ static void gistprunepage(Relation rel, Page page, Buffer buffer,
44
44
45
45
46
46
#define ROTATEDIST (d ) do { \
47
- SplitedPageLayout *tmp=(SplitedPageLayout *)palloc0(sizeof(SplitedPageLayout )); \
47
+ SplitPageLayout *tmp=(SplitPageLayout *)palloc0(sizeof(SplitPageLayout )); \
48
48
tmp->block.blkno = InvalidBlockNumber; \
49
49
tmp->buffer = InvalidBuffer; \
50
50
tmp->next = (d); \
@@ -283,11 +283,11 @@ gistplacetopage(Relation rel, Size freespace, GISTSTATE *giststate,
283
283
/* no space for insertion */
284
284
IndexTuple * itvec ;
285
285
int tlen ;
286
- SplitedPageLayout * dist = NULL ,
286
+ SplitPageLayout * dist = NULL ,
287
287
* ptr ;
288
288
BlockNumber oldrlink = InvalidBlockNumber ;
289
289
GistNSN oldnsn = 0 ;
290
- SplitedPageLayout rootpg ;
290
+ SplitPageLayout rootpg ;
291
291
bool is_rootsplit ;
292
292
int npage ;
293
293
@@ -1080,7 +1080,7 @@ gistFindCorrectParent(Relation r, GISTInsertStack *child, bool is_build)
1080
1080
{
1081
1081
/*
1082
1082
* End of chain and still didn't find parent. It's a very-very
1083
- * rare situation when root splitted .
1083
+ * rare situation when the root was split .
1084
1084
*/
1085
1085
break ;
1086
1086
}
@@ -1435,7 +1435,7 @@ gistfinishsplit(GISTInsertState *state, GISTInsertStack *stack,
1435
1435
* used for XLOG and real writes buffers. Function is recursive, ie
1436
1436
* it will split page until keys will fit in every page.
1437
1437
*/
1438
- SplitedPageLayout *
1438
+ SplitPageLayout *
1439
1439
gistSplit (Relation r ,
1440
1440
Page page ,
1441
1441
IndexTuple * itup , /* contains compressed entry */
@@ -1446,7 +1446,7 @@ gistSplit(Relation r,
1446
1446
* rvectup ;
1447
1447
GistSplitVector v ;
1448
1448
int i ;
1449
- SplitedPageLayout * res = NULL ;
1449
+ SplitPageLayout * res = NULL ;
1450
1450
1451
1451
/* this should never recurse very deeply, but better safe than sorry */
1452
1452
check_stack_depth ();
@@ -1496,7 +1496,7 @@ gistSplit(Relation r,
1496
1496
1497
1497
if (!gistfitpage (lvectup , v .splitVector .spl_nleft ))
1498
1498
{
1499
- SplitedPageLayout * resptr ,
1499
+ SplitPageLayout * resptr ,
1500
1500
* subres ;
1501
1501
1502
1502
resptr = subres = gistSplit (r , page , lvectup , v .splitVector .spl_nleft , giststate );
0 commit comments