aboutsummaryrefslogtreecommitdiff
path: root/src/backend/access/gist/gistbuildbuffers.c
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/backend/access/gist/gistbuildbuffers.c
parent591cf626e71b460c53bef23347b93a0cfbd91f0f (diff)
downloadpostgresql-e62e73f3a2f2af765a3c69486ed78a5bc451367e.tar.gz
postgresql-e62e73f3a2f2af765a3c69486ed78a5bc451367e.zip
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/backend/access/gist/gistbuildbuffers.c')
-rw-r--r--src/backend/access/gist/gistbuildbuffers.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/backend/access/gist/gistbuildbuffers.c b/src/backend/access/gist/gistbuildbuffers.c
index 1423b4b047c..fb5e2ffcb3b 100644
--- a/src/backend/access/gist/gistbuildbuffers.c
+++ b/src/backend/access/gist/gistbuildbuffers.c
@@ -163,7 +163,7 @@ gistGetNodeBuffer(GISTBuildBuffers *gfbb, GISTSTATE *giststate,
* not arbitrary that the new buffer is put to the beginning of the
* list: in the final emptying phase we loop through all buffers at
* each level, and flush them. If a page is split during the emptying,
- * it's more efficient to flush the new splitted pages first, before
+ * it's more efficient to flush the new split pages first, before
* moving on to pre-existing pages on the level. The buffers just
* created during the page split are likely still in cache, so
* flushing them immediately is more efficient than putting them to
@@ -518,7 +518,7 @@ gistFreeBuildBuffers(GISTBuildBuffers *gfbb)
/*
* Data structure representing information about node buffer for index tuples
- * relocation from splitted node buffer.
+ * relocation from split node buffer.
*/
typedef struct
{
@@ -549,12 +549,12 @@ gistRelocateBuildBuffersOnSplit(GISTBuildBuffers *gfbb, GISTSTATE *giststate,
GISTNodeBuffer oldBuf;
ListCell *lc;
- /* If the splitted page doesn't have buffers, we have nothing to do. */
+ /* If the split page doesn't have buffers, we have nothing to do. */
if (!LEVEL_HAS_BUFFERS(level, gfbb))
return;
/*
- * Get the node buffer of the splitted page.
+ * Get the node buffer of the split page.
*/
blocknum = BufferGetBlockNumber(buffer);
nodeBuffer = hash_search(gfbb->nodeBuffersTab, &blocknum,