1
0
mirror of https://github.com/postgres/postgres.git synced 2025-04-21 12:05:57 +03:00

Fix typos.

Etsuro Fujita
This commit is contained in:
Robert Haas 2014-10-20 10:23:40 -04:00
parent 49d182e61e
commit 0f565c0743
4 changed files with 6 additions and 6 deletions

View File

@ -1712,7 +1712,7 @@ pg_stat_reset_shared(PG_FUNCTION_ARGS)
PG_RETURN_VOID(); PG_RETURN_VOID();
} }
/* Reset a a single counter in the current database */ /* Reset a single counter in the current database */
Datum Datum
pg_stat_reset_single_table_counters(PG_FUNCTION_ARGS) pg_stat_reset_single_table_counters(PG_FUNCTION_ARGS)
{ {

View File

@ -306,7 +306,7 @@ checkcondition_arr(void *checkval, QueryOperand *val)
/* Loop invariant: StopLow <= val < StopHigh */ /* Loop invariant: StopLow <= val < StopHigh */
/* /*
* we are not able to find a a prefix by hash value * we are not able to find a prefix by hash value
*/ */
if (val->prefix) if (val->prefix)
return true; return true;
@ -329,7 +329,7 @@ static bool
checkcondition_bit(void *checkval, QueryOperand *val) checkcondition_bit(void *checkval, QueryOperand *val)
{ {
/* /*
* we are not able to find a a prefix in signature tree * we are not able to find a prefix in signature tree
*/ */
if (val->prefix) if (val->prefix)
return true; return true;

View File

@ -456,10 +456,10 @@ findoprnd(QueryItem *ptr, int size)
/* /*
* Each value (operand) in the query is be passed to pushval. pushval can * Each value (operand) in the query is passed to pushval. pushval can
* transform the simple value to an arbitrarily complex expression using * transform the simple value to an arbitrarily complex expression using
* pushValue and pushOperator. It must push a single value with pushValue, * pushValue and pushOperator. It must push a single value with pushValue,
* a complete expression with all operands, or a a stopword placeholder * a complete expression with all operands, or a stopword placeholder
* with pushStop, otherwise the prefix notation representation will be broken, * with pushStop, otherwise the prefix notation representation will be broken,
* having an operator with no operand. * having an operator with no operand.
* *

View File

@ -283,7 +283,7 @@ GetNonHistoricCatalogSnapshot(Oid relid)
{ {
/* /*
* If the caller is trying to scan a relation that has no syscache, no * If the caller is trying to scan a relation that has no syscache, no
* catcache invalidations will be sent when it is updated. For a a few * catcache invalidations will be sent when it is updated. For a few
* key relations, snapshot invalidations are sent instead. If we're * key relations, snapshot invalidations are sent instead. If we're
* trying to scan a relation for which neither catcache nor snapshot * trying to scan a relation for which neither catcache nor snapshot
* invalidations are sent, we must refresh the snapshot every time. * invalidations are sent, we must refresh the snapshot every time.