aboutsummaryrefslogtreecommitdiff
path: root/src/backend/access/gin
diff options
context:
space:
mode:
authorRobert Haas <rhaas@postgresql.org>2012-04-23 22:43:09 -0400
committerRobert Haas <rhaas@postgresql.org>2012-04-23 22:43:09 -0400
commit5d4b60f2f25bedee257aaf6f2f4ac77028629b87 (patch)
treef0f7fa40b63a23b10e9d03ea47f97020565a66f6 /src/backend/access/gin
parent7ab9b2f3b79177e501a1ef90ed004cc68788abaf (diff)
downloadpostgresql-5d4b60f2f25bedee257aaf6f2f4ac77028629b87.tar.gz
postgresql-5d4b60f2f25bedee257aaf6f2f4ac77028629b87.zip
Lots of doc corrections.
Josh Kupershmidt
Diffstat (limited to 'src/backend/access/gin')
-rw-r--r--src/backend/access/gin/ginentrypage.c4
-rw-r--r--src/backend/access/gin/ginfast.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/src/backend/access/gin/ginentrypage.c b/src/backend/access/gin/ginentrypage.c
index a9482da3fb5..70fcddfe407 100644
--- a/src/backend/access/gin/ginentrypage.c
+++ b/src/backend/access/gin/ginentrypage.c
@@ -447,9 +447,9 @@ entryIsEnoughSpace(GinBtree btree, Buffer buf, OffsetNumber off)
}
/*
- * Delete tuple on leaf page if tuples was existed and we
+ * Delete tuple on leaf page if tuples existed and we
* should update it, update old child blkno to new right page
- * if child split is occured
+ * if child split occurred
*/
static BlockNumber
entryPreparePage(GinBtree btree, Page page, OffsetNumber off)
diff --git a/src/backend/access/gin/ginfast.c b/src/backend/access/gin/ginfast.c
index d201c68f722..b9bfde2ee42 100644
--- a/src/backend/access/gin/ginfast.c
+++ b/src/backend/access/gin/ginfast.c
@@ -856,7 +856,7 @@ ginInsertCleanup(GinState *ginstate,
* added to it. If so, process those entries immediately. There
* shouldn't be very many, so we don't worry about the fact that
* we're doing this with exclusive lock. Insertion algorithm
- * gurantees that inserted row(s) will not continue on next page.
+ * guarantees that inserted row(s) will not continue on next page.
* NOTE: intentionally no vacuum_delay_point in this loop.
*/
if (PageGetMaxOffsetNumber(page) != maxoff)