summaryrefslogtreecommitdiff
path: root/src/include/access/gist_private.h
diff options
context:
space:
mode:
authorRobert Haas <rhaas@postgresql.org>2024-01-02 12:24:28 -0500
committerRobert Haas <rhaas@postgresql.org>2024-01-02 12:24:28 -0500
commite62e73f3a2f2af765a3c69486ed78a5bc451367e (patch)
tree9ff64936829d126e7205b9ecbfa735f7471da633 /src/include/access/gist_private.h
parent591cf626e71b460c53bef23347b93a0cfbd91f0f (diff)
gist: fix typo "split(t)ed" -> "split"
Dagfinn Ilmari Mannsåker, reviewed by Shubham Khanna. Discussion: http://postgr.es/m/87le9fmi01.fsf@wibble.ilmari.org
Diffstat (limited to 'src/include/access/gist_private.h')
-rw-r--r--src/include/access/gist_private.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/include/access/gist_private.h b/src/include/access/gist_private.h
index 82eb7b4bd8f..ed183d375de 100644
--- a/src/include/access/gist_private.h
+++ b/src/include/access/gist_private.h
@@ -187,8 +187,8 @@ typedef struct gistxlogPage
int num; /* number of index tuples following */
} gistxlogPage;
-/* SplitedPageLayout - gistSplit function result */
-typedef struct SplitedPageLayout
+/* SplitPageLayout - gistSplit function result */
+typedef struct SplitPageLayout
{
gistxlogPage block;
IndexTupleData *list;
@@ -197,8 +197,8 @@ typedef struct SplitedPageLayout
Page page; /* to operate */
Buffer buffer; /* to write after all proceed */
- struct SplitedPageLayout *next;
-} SplitedPageLayout;
+ struct SplitPageLayout *next;
+} SplitPageLayout;
/*
* GISTInsertStack used for locking buffers and transfer arguments during
@@ -432,8 +432,8 @@ extern bool gistplacetopage(Relation rel, Size freespace, GISTSTATE *giststate,
Relation heapRel,
bool is_build);
-extern SplitedPageLayout *gistSplit(Relation r, Page page, IndexTuple *itup,
- int len, GISTSTATE *giststate);
+extern SplitPageLayout *gistSplit(Relation r, Page page, IndexTuple *itup,
+ int len, GISTSTATE *giststate);
/* gistxlog.c */
extern XLogRecPtr gistXLogPageDelete(Buffer buffer,
@@ -453,7 +453,7 @@ extern XLogRecPtr gistXLogDelete(Buffer buffer, OffsetNumber *todelete,
Relation heaprel);
extern XLogRecPtr gistXLogSplit(bool page_is_leaf,
- SplitedPageLayout *dist,
+ SplitPageLayout *dist,
BlockNumber origrlink, GistNSN orignsn,
Buffer leftchildbuf, bool markfollowright);