Commit dbcaee49 authored by Neil Conway's avatar Neil Conway

Fix a few typos in comments in GiN.

parent b3687889
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
* Portions Copyright (c) 1994, Regents of the University of California * Portions Copyright (c) 1994, Regents of the University of California
* *
* IDENTIFICATION * 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) ...@@ -317,7 +317,7 @@ ginInsertValue(GinBtree btree, GinBtreeStack *stack)
/* /*
* newlpage is a pointer to memory page, it doesn't associate * 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); newlpage = btree->splitPage(btree, stack->buffer, rbuffer, stack->off, &rdata);
......
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
* Portions Copyright (c) 1994, Regents of the University of California * Portions Copyright (c) 1994, Regents of the University of California
* *
* IDENTIFICATION * 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 ...@@ -187,7 +187,7 @@ ginChooseElem(BuildAccumulator *accum, ItemPointer heapptr, Datum *entries, uint
/* /*
* Insert one heap pointer. Suppose entries is sorted. * 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. * next middle on left part and middle of right part.
*/ */
void void
......
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
* Portions Copyright (c) 1994, Regents of the University of California * Portions Copyright (c) 1994, Regents of the University of California
* *
* IDENTIFICATION * 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) ...@@ -168,7 +168,7 @@ startScanKey(Relation index, GinState *ginstate, GinScanKey key)
if (GinFuzzySearchLimit > 0) 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 * we hope (and only hope, for intersection operation of array our
* supposition isn't true), that total result will not more than * supposition isn't true), that total result will not more than
* minimal predictNumberResult. * minimal predictNumberResult.
......
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
* Portions Copyright (c) 1994, Regents of the University of California * Portions Copyright (c) 1994, Regents of the University of California
* *
* IDENTIFICATION * 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 ...@@ -197,7 +197,7 @@ ginEntryInsert(Relation index, GinState *ginstate, Datum value, ItemPointerData
/* /*
* Saves indexed value in memory accumulator during index creation * Saves indexed value in memory accumulator during index creation
* Function isnt use during normal insert * Function isn't use during normal insert
*/ */
static uint32 static uint32
ginHeapTupleBulkInsert(GinBuildState *buildstate, Datum value, ItemPointer heapptr) ginHeapTupleBulkInsert(GinBuildState *buildstate, Datum value, ItemPointer heapptr)
......
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
* Portions Copyright (c) 1994, Regents of the University of California * Portions Copyright (c) 1994, Regents of the University of California
* *
* IDENTIFICATION * 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) ...@@ -466,7 +466,7 @@ ginVacuumPostingTree(GinVacuumState *gvs, BlockNumber rootBlkno)
/* /*
* returns modified page or NULL if page isn't modified. * 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. * then page is copied into temporary one.
*/ */
static Page static Page
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment