Skip to content
Snippets Groups Projects
Commit 0f565c07 authored by Robert Haas's avatar Robert Haas
Browse files

Fix typos.

Etsuro Fujita
parent 49d182e6
No related branches found
No related tags found
No related merge requests found
...@@ -1712,7 +1712,7 @@ pg_stat_reset_shared(PG_FUNCTION_ARGS) ...@@ -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)
{ {
......
...@@ -306,7 +306,7 @@ checkcondition_arr(void *checkval, QueryOperand *val) ...@@ -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 ...@@ -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;
......
...@@ -456,10 +456,10 @@ findoprnd(QueryItem *ptr, int size) ...@@ -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.
* *
......
...@@ -283,7 +283,7 @@ GetNonHistoricCatalogSnapshot(Oid relid) ...@@ -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.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment