@@ -44,7 +44,7 @@ static void gistprunepage(Relation rel, Page page, Buffer buffer,
4444
4545
4646#define ROTATEDIST (d ) do { \
47- SplitedPageLayout *tmp=(SplitedPageLayout *)palloc0(sizeof(SplitedPageLayout )); \
47+ SplitPageLayout *tmp=(SplitPageLayout *)palloc0(sizeof(SplitPageLayout )); \
4848 tmp->block.blkno = InvalidBlockNumber; \
4949 tmp->buffer = InvalidBuffer; \
5050 tmp->next = (d); \
@@ -283,11 +283,11 @@ gistplacetopage(Relation rel, Size freespace, GISTSTATE *giststate,
283283 /* no space for insertion */
284284 IndexTuple * itvec ;
285285 int tlen ;
286- SplitedPageLayout * dist = NULL ,
286+ SplitPageLayout * dist = NULL ,
287287 * ptr ;
288288 BlockNumber oldrlink = InvalidBlockNumber ;
289289 GistNSN oldnsn = 0 ;
290- SplitedPageLayout rootpg ;
290+ SplitPageLayout rootpg ;
291291 bool is_rootsplit ;
292292 int npage ;
293293
@@ -1080,7 +1080,7 @@ gistFindCorrectParent(Relation r, GISTInsertStack *child, bool is_build)
10801080 {
10811081 /*
10821082 * 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 .
10841084 */
10851085 break ;
10861086 }
@@ -1435,7 +1435,7 @@ gistfinishsplit(GISTInsertState *state, GISTInsertStack *stack,
14351435 * used for XLOG and real writes buffers. Function is recursive, ie
14361436 * it will split page until keys will fit in every page.
14371437 */
1438- SplitedPageLayout *
1438+ SplitPageLayout *
14391439gistSplit (Relation r ,
14401440 Page page ,
14411441 IndexTuple * itup , /* contains compressed entry */
@@ -1446,7 +1446,7 @@ gistSplit(Relation r,
14461446 * rvectup ;
14471447 GistSplitVector v ;
14481448 int i ;
1449- SplitedPageLayout * res = NULL ;
1449+ SplitPageLayout * res = NULL ;
14501450
14511451 /* this should never recurse very deeply, but better safe than sorry */
14521452 check_stack_depth ();
@@ -1496,7 +1496,7 @@ gistSplit(Relation r,
14961496
14971497 if (!gistfitpage (lvectup , v .splitVector .spl_nleft ))
14981498 {
1499- SplitedPageLayout * resptr ,
1499+ SplitPageLayout * resptr ,
15001500 * subres ;
15011501
15021502 resptr = subres = gistSplit (r , page , lvectup , v .splitVector .spl_nleft , giststate );
0 commit comments