aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Haas <rhaas@postgresql.org>2014-10-20 10:23:40 -0400
committerRobert Haas <rhaas@postgresql.org>2014-10-20 10:23:40 -0400
commit0f565c074311d202f4524d1fd104b28c5a6adaf2 (patch)
tree7407806e48f0e069778487c8ababfa991795d80d
parent49d182e61ebca00762531718b3bafa9107ccee17 (diff)
downloadpostgresql-0f565c074311d202f4524d1fd104b28c5a6adaf2.tar.gz
postgresql-0f565c074311d202f4524d1fd104b28c5a6adaf2.zip
Fix typos.
Etsuro Fujita
-rw-r--r--src/backend/utils/adt/pgstatfuncs.c2
-rw-r--r--src/backend/utils/adt/tsgistidx.c4
-rw-r--r--src/backend/utils/adt/tsquery.c4
-rw-r--r--src/backend/utils/time/snapmgr.c2
4 files changed, 6 insertions, 6 deletions
diff --git a/src/backend/utils/adt/pgstatfuncs.c b/src/backend/utils/adt/pgstatfuncs.c
index 44ccd37e998..d621a6812a5 100644
--- a/src/backend/utils/adt/pgstatfuncs.c
+++ b/src/backend/utils/adt/pgstatfuncs.c
@@ -1712,7 +1712,7 @@ pg_stat_reset_shared(PG_FUNCTION_ARGS)
PG_RETURN_VOID();
}
-/* Reset a a single counter in the current database */
+/* Reset a single counter in the current database */
Datum
pg_stat_reset_single_table_counters(PG_FUNCTION_ARGS)
{
diff --git a/src/backend/utils/adt/tsgistidx.c b/src/backend/utils/adt/tsgistidx.c
index bc45f114eb7..80039189c3f 100644
--- a/src/backend/utils/adt/tsgistidx.c
+++ b/src/backend/utils/adt/tsgistidx.c
@@ -306,7 +306,7 @@ checkcondition_arr(void *checkval, QueryOperand *val)
/* 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)
return true;
@@ -329,7 +329,7 @@ static bool
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)
return true;
diff --git a/src/backend/utils/adt/tsquery.c b/src/backend/utils/adt/tsquery.c
index b973a534ddb..c8011a8ea92 100644
--- a/src/backend/utils/adt/tsquery.c
+++ b/src/backend/utils/adt/tsquery.c
@@ -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
* 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,
* having an operator with no operand.
*
diff --git a/src/backend/utils/time/snapmgr.c b/src/backend/utils/time/snapmgr.c
index 2834753d734..d601efef669 100644
--- a/src/backend/utils/time/snapmgr.c
+++ b/src/backend/utils/time/snapmgr.c
@@ -283,7 +283,7 @@ GetNonHistoricCatalogSnapshot(Oid relid)
{
/*
* 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
* trying to scan a relation for which neither catcache nor snapshot
* invalidations are sent, we must refresh the snapshot every time.