Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 0f565c0

Browse files
committed
Fix typos.
Etsuro Fujita
1 parent 49d182e commit 0f565c0

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

src/backend/utils/adt/pgstatfuncs.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1712,7 +1712,7 @@ pg_stat_reset_shared(PG_FUNCTION_ARGS)
17121712
PG_RETURN_VOID();
17131713
}
17141714

1715-
/* Reset a a single counter in the current database */
1715+
/* Reset a single counter in the current database */
17161716
Datum
17171717
pg_stat_reset_single_table_counters(PG_FUNCTION_ARGS)
17181718
{

src/backend/utils/adt/tsgistidx.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -306,7 +306,7 @@ checkcondition_arr(void *checkval, QueryOperand *val)
306306
/* Loop invariant: StopLow <= val < StopHigh */
307307

308308
/*
309-
* we are not able to find a a prefix by hash value
309+
* we are not able to find a prefix by hash value
310310
*/
311311
if (val->prefix)
312312
return true;
@@ -329,7 +329,7 @@ static bool
329329
checkcondition_bit(void *checkval, QueryOperand *val)
330330
{
331331
/*
332-
* we are not able to find a a prefix in signature tree
332+
* we are not able to find a prefix in signature tree
333333
*/
334334
if (val->prefix)
335335
return true;

src/backend/utils/adt/tsquery.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -456,10 +456,10 @@ findoprnd(QueryItem *ptr, int size)
456456

457457

458458
/*
459-
* Each value (operand) in the query is be passed to pushval. pushval can
459+
* Each value (operand) in the query is passed to pushval. pushval can
460460
* transform the simple value to an arbitrarily complex expression using
461461
* pushValue and pushOperator. It must push a single value with pushValue,
462-
* a complete expression with all operands, or a a stopword placeholder
462+
* a complete expression with all operands, or a stopword placeholder
463463
* with pushStop, otherwise the prefix notation representation will be broken,
464464
* having an operator with no operand.
465465
*

src/backend/utils/time/snapmgr.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -283,7 +283,7 @@ GetNonHistoricCatalogSnapshot(Oid relid)
283283
{
284284
/*
285285
* If the caller is trying to scan a relation that has no syscache, no
286-
* catcache invalidations will be sent when it is updated. For a a few
286+
* catcache invalidations will be sent when it is updated. For a few
287287
* key relations, snapshot invalidations are sent instead. If we're
288288
* trying to scan a relation for which neither catcache nor snapshot
289289
* invalidations are sent, we must refresh the snapshot every time.

0 commit comments

Comments
 (0)