Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitdbcaee4

Browse files
author
Neil Conway
committed
Fix a few typos in comments in GiN.
1 parentb368788 commitdbcaee4

File tree

5 files changed

+10
-10
lines changed

5 files changed

+10
-10
lines changed

‎src/backend/access/gin/ginbtree.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
* Portions Copyright (c) 1994, Regents of the University of California
99
*
1010
* IDENTIFICATION
11-
*$PostgreSQL: pgsql/src/backend/access/gin/ginbtree.c,v 1.7 2007/01/05 22:19:21 momjian Exp $
11+
*$PostgreSQL: pgsql/src/backend/access/gin/ginbtree.c,v 1.8 2007/02/01 04:16:07 neilc Exp $
1212
*-------------------------------------------------------------------------
1313
*/
1414

@@ -317,7 +317,7 @@ ginInsertValue(GinBtree btree, GinBtreeStack *stack)
317317

318318
/*
319319
* newlpage is a pointer to memory page, it doesn't associate
320-
* with buffer, stack->buffershoud be untouched
320+
* with buffer, stack->buffershould be untouched
321321
*/
322322
newlpage=btree->splitPage(btree,stack->buffer,rbuffer,stack->off,&rdata);
323323

‎src/backend/access/gin/ginbulk.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
* Portions Copyright (c) 1994, Regents of the University of California
99
*
1010
* IDENTIFICATION
11-
*$PostgreSQL: pgsql/src/backend/access/gin/ginbulk.c,v 1.8 2007/01/31 15:09:45 teodor Exp $
11+
*$PostgreSQL: pgsql/src/backend/access/gin/ginbulk.c,v 1.9 2007/02/01 04:16:08 neilc Exp $
1212
*-------------------------------------------------------------------------
1313
*/
1414

@@ -187,7 +187,7 @@ ginChooseElem(BuildAccumulator *accum, ItemPointer heapptr, Datum *entries, uint
187187

188188
/*
189189
* Insert one heap pointer. Suppose entries is sorted.
190-
* Insertion ordertrys to get binary tree balanced: first insert middle value,
190+
* Insertion ordertries to get binary tree balanced: first insert middle value,
191191
* next middle on left part and middle of right part.
192192
*/
193193
void

‎src/backend/access/gin/ginget.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
* Portions Copyright (c) 1994, Regents of the University of California
99
*
1010
* IDENTIFICATION
11-
*$PostgreSQL: pgsql/src/backend/access/gin/ginget.c,v 1.6 2007/01/31 15:09:45 teodor Exp $
11+
*$PostgreSQL: pgsql/src/backend/access/gin/ginget.c,v 1.7 2007/02/01 04:16:08 neilc Exp $
1212
*-------------------------------------------------------------------------
1313
*/
1414

@@ -168,7 +168,7 @@ startScanKey(Relation index, GinState *ginstate, GinScanKey key)
168168
if (GinFuzzySearchLimit>0)
169169
{
170170
/*
171-
* If all of keys more thantreshold we will try to reduce result,
171+
* If all of keys more thanthreshold we will try to reduce result,
172172
* we hope (and only hope, for intersection operation of array our
173173
* supposition isn't true), that total result will not more than
174174
* minimal predictNumberResult.

‎src/backend/access/gin/gininsert.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
* Portions Copyright (c) 1994, Regents of the University of California
99
*
1010
* IDENTIFICATION
11-
*$PostgreSQL: pgsql/src/backend/access/gin/gininsert.c,v 1.7 2007/01/31 15:09:45 teodor Exp $
11+
*$PostgreSQL: pgsql/src/backend/access/gin/gininsert.c,v 1.8 2007/02/01 04:16:08 neilc Exp $
1212
*-------------------------------------------------------------------------
1313
*/
1414

@@ -197,7 +197,7 @@ ginEntryInsert(Relation index, GinState *ginstate, Datum value, ItemPointerData
197197

198198
/*
199199
* Saves indexed value in memory accumulator during index creation
200-
* Functionisnt use during normal insert
200+
* Functionisn't use during normal insert
201201
*/
202202
staticuint32
203203
ginHeapTupleBulkInsert(GinBuildState*buildstate,Datumvalue,ItemPointerheapptr)

‎src/backend/access/gin/ginvacuum.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
* Portions Copyright (c) 1994, Regents of the University of California
99
*
1010
* IDENTIFICATION
11-
*$PostgreSQL: pgsql/src/backend/access/gin/ginvacuum.c,v 1.11 2007/01/05 22:19:21 momjian Exp $
11+
*$PostgreSQL: pgsql/src/backend/access/gin/ginvacuum.c,v 1.12 2007/02/01 04:16:08 neilc Exp $
1212
*-------------------------------------------------------------------------
1313
*/
1414

@@ -466,7 +466,7 @@ ginVacuumPostingTree(GinVacuumState *gvs, BlockNumber rootBlkno)
466466

467467
/*
468468
* returns modified page or NULL if page isn't modified.
469-
* Function works with original page until first change isoccured,
469+
* Function works with original page until first change isoccurred,
470470
* then page is copied into temporary one.
471471
*/
472472
staticPage

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp