]> granicus.if.org Git - postgresql/commitdiff
Fix typos.
authorRobert Haas <rhaas@postgresql.org>
Mon, 20 Oct 2014 14:23:40 +0000 (10:23 -0400)
committerRobert Haas <rhaas@postgresql.org>
Mon, 20 Oct 2014 14:23:40 +0000 (10:23 -0400)
Etsuro Fujita

src/backend/utils/adt/pgstatfuncs.c
src/backend/utils/adt/tsgistidx.c
src/backend/utils/adt/tsquery.c
src/backend/utils/time/snapmgr.c

index 44ccd37e99895b0295927ede0a85bd8e8d7a5a0f..d621a6812a5aa9ff7e87549d2ad811237f39c586 100644 (file)
@@ -1712,7 +1712,7 @@ pg_stat_reset_shared(PG_FUNCTION_ARGS)
        PG_RETURN_VOID();
 }
 
-/* Reset 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)
 {
index bc45f114eb78d0d42ec683436f560eb3708c77ae..80039189c3f5edca99f2d6847e8323697b05d676 100644 (file)
@@ -306,7 +306,7 @@ checkcondition_arr(void *checkval, QueryOperand *val)
        /* Loop invariant: StopLow <= val < StopHigh */
 
        /*
-        * we are not able to find 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 prefix in signature tree
+        * we are not able to find a prefix in signature tree
         */
        if (val->prefix)
                return true;
index b973a534ddb0e011bd17cdf21702908149e10ab4..c8011a8ea9210acac68d122c3f8d7f815bddf107 100644 (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
  * pushValue and pushOperator. It must push a single value with pushValue,
- * a complete expression with all operands, or 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.
  *
index 2834753d73436d662b0bd58df54c60420b9ba419..d601efef6699f01d8af864feac4dcea53febcdc1 100644 (file)
@@ -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 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.