From dbcaee49b5352576a99995fb0afc82f7e2163e4f Mon Sep 17 00:00:00 2001 From: Neil Conway Date: Thu, 1 Feb 2007 04:16:08 +0000 Subject: [PATCH] Fix a few typos in comments in GiN. --- src/backend/access/gin/ginbtree.c | 4 ++-- src/backend/access/gin/ginbulk.c | 4 ++-- src/backend/access/gin/ginget.c | 4 ++-- src/backend/access/gin/gininsert.c | 4 ++-- src/backend/access/gin/ginvacuum.c | 4 ++-- 5 files changed, 10 insertions(+), 10 deletions(-) diff --git a/src/backend/access/gin/ginbtree.c b/src/backend/access/gin/ginbtree.c index f0d1604144..854a358682 100644 --- a/src/backend/access/gin/ginbtree.c +++ b/src/backend/access/gin/ginbtree.c @@ -8,7 +8,7 @@ * Portions Copyright (c) 1994, Regents of the University of California * * IDENTIFICATION - * $PostgreSQL: pgsql/src/backend/access/gin/ginbtree.c,v 1.7 2007/01/05 22:19:21 momjian Exp $ + * $PostgreSQL: pgsql/src/backend/access/gin/ginbtree.c,v 1.8 2007/02/01 04:16:07 neilc Exp $ *------------------------------------------------------------------------- */ @@ -317,7 +317,7 @@ ginInsertValue(GinBtree btree, GinBtreeStack *stack) /* * newlpage is a pointer to memory page, it doesn't associate - * with buffer, stack->buffer shoud be untouched + * with buffer, stack->buffer should be untouched */ newlpage = btree->splitPage(btree, stack->buffer, rbuffer, stack->off, &rdata); diff --git a/src/backend/access/gin/ginbulk.c b/src/backend/access/gin/ginbulk.c index d3b6f0bceb..d0ac0b6212 100644 --- a/src/backend/access/gin/ginbulk.c +++ b/src/backend/access/gin/ginbulk.c @@ -8,7 +8,7 @@ * Portions Copyright (c) 1994, Regents of the University of California * * IDENTIFICATION - * $PostgreSQL: pgsql/src/backend/access/gin/ginbulk.c,v 1.8 2007/01/31 15:09:45 teodor Exp $ + * $PostgreSQL: pgsql/src/backend/access/gin/ginbulk.c,v 1.9 2007/02/01 04:16:08 neilc Exp $ *------------------------------------------------------------------------- */ @@ -187,7 +187,7 @@ ginChooseElem(BuildAccumulator *accum, ItemPointer heapptr, Datum *entries, uint /* * Insert one heap pointer. Suppose entries is sorted. - * Insertion order trys to get binary tree balanced: first insert middle value, + * Insertion order tries to get binary tree balanced: first insert middle value, * next middle on left part and middle of right part. */ void diff --git a/src/backend/access/gin/ginget.c b/src/backend/access/gin/ginget.c index 2366f3f727..91642f340e 100644 --- a/src/backend/access/gin/ginget.c +++ b/src/backend/access/gin/ginget.c @@ -8,7 +8,7 @@ * Portions Copyright (c) 1994, Regents of the University of California * * IDENTIFICATION - * $PostgreSQL: pgsql/src/backend/access/gin/ginget.c,v 1.6 2007/01/31 15:09:45 teodor Exp $ + * $PostgreSQL: pgsql/src/backend/access/gin/ginget.c,v 1.7 2007/02/01 04:16:08 neilc Exp $ *------------------------------------------------------------------------- */ @@ -168,7 +168,7 @@ startScanKey(Relation index, GinState *ginstate, GinScanKey key) if (GinFuzzySearchLimit > 0) { /* - * If all of keys more than treshold we will try to reduce result, + * If all of keys more than threshold we will try to reduce result, * we hope (and only hope, for intersection operation of array our * supposition isn't true), that total result will not more than * minimal predictNumberResult. diff --git a/src/backend/access/gin/gininsert.c b/src/backend/access/gin/gininsert.c index 3a17233ba8..1d4d57c0d4 100644 --- a/src/backend/access/gin/gininsert.c +++ b/src/backend/access/gin/gininsert.c @@ -8,7 +8,7 @@ * Portions Copyright (c) 1994, Regents of the University of California * * IDENTIFICATION - * $PostgreSQL: pgsql/src/backend/access/gin/gininsert.c,v 1.7 2007/01/31 15:09:45 teodor Exp $ + * $PostgreSQL: pgsql/src/backend/access/gin/gininsert.c,v 1.8 2007/02/01 04:16:08 neilc Exp $ *------------------------------------------------------------------------- */ @@ -197,7 +197,7 @@ ginEntryInsert(Relation index, GinState *ginstate, Datum value, ItemPointerData /* * Saves indexed value in memory accumulator during index creation - * Function isnt use during normal insert + * Function isn't use during normal insert */ static uint32 ginHeapTupleBulkInsert(GinBuildState *buildstate, Datum value, ItemPointer heapptr) diff --git a/src/backend/access/gin/ginvacuum.c b/src/backend/access/gin/ginvacuum.c index 6e4a8bba45..e490e6a4bf 100644 --- a/src/backend/access/gin/ginvacuum.c +++ b/src/backend/access/gin/ginvacuum.c @@ -8,7 +8,7 @@ * Portions Copyright (c) 1994, Regents of the University of California * * IDENTIFICATION - * $PostgreSQL: pgsql/src/backend/access/gin/ginvacuum.c,v 1.11 2007/01/05 22:19:21 momjian Exp $ + * $PostgreSQL: pgsql/src/backend/access/gin/ginvacuum.c,v 1.12 2007/02/01 04:16:08 neilc Exp $ *------------------------------------------------------------------------- */ @@ -466,7 +466,7 @@ ginVacuumPostingTree(GinVacuumState *gvs, BlockNumber rootBlkno) /* * returns modified page or NULL if page isn't modified. - * Function works with original page until first change is occured, + * Function works with original page until first change is occurred, * then page is copied into temporary one. */ static Page