Fix wording
authorPeter Eisentraut <peter@eisentraut.org>
Fri, 6 Aug 2021 18:55:59 +0000 (20:55 +0200)
committerPeter Eisentraut <peter@eisentraut.org>
Fri, 6 Aug 2021 18:55:59 +0000 (20:55 +0200)
doc/src/sgml/rules.sgml
src/backend/utils/adt/multirangetypes_selfuncs.c
src/backend/utils/adt/rangetypes_selfuncs.c
src/backend/utils/adt/rangetypes_spgist.c
src/bin/pg_resetwal/pg_resetwal.c

index 5024e4ff704ff3c2a97a86b96e9a43c965cd0cf2..6065b1c2a3187557a099007cf18b6087dabcb5b1 100644 (file)
@@ -546,7 +546,7 @@ SELECT shoelace.sl_name, shoelace.sl_avail,
 <para>
     Now we want to write a query that finds out for which shoes currently in the store
     we have the matching shoelaces (color and length) and where the
-    total number of exactly matching pairs is greater or equal to two.
+    total number of exactly matching pairs is greater than or equal to two.
 
 <programlisting>
 SELECT * FROM shoe_ready WHERE total_avail &gt;= 2;
index 191cc1f002f106d43c3897c7a9645b0be391b138..8d085ca8d4fca0c13c44096f4628e8436a12c796 100644 (file)
@@ -734,7 +734,7 @@ calc_hist_selectivity_scalar(TypeCacheEntry *typcache, const RangeBound *constbo
  *
  * This function is used in scalar operator selectivity estimation. Another
  * goal of this function is to find a histogram bin where to stop
- * interpolation of portion of bounds which are less or equal to given bound.
+ * interpolation of portion of bounds which are less than or equal to given bound.
  */
 static int
 rbound_bsearch(TypeCacheEntry *typcache, const RangeBound *value, const RangeBound *hist,
index a6c3c450ac9eddf8a5eb0e21754deefaced52d3f..e9852783a53ef1a8db6e6424d75f84a7d26d5655 100644 (file)
@@ -622,7 +622,7 @@ calc_hist_selectivity_scalar(TypeCacheEntry *typcache, const RangeBound *constbo
  *
  * This function is used in scalar operator selectivity estimation. Another
  * goal of this function is to find a histogram bin where to stop
- * interpolation of portion of bounds which are less or equal to given bound.
+ * interpolation of portion of bounds which are less than or equal to given bound.
  */
 static int
 rbound_bsearch(TypeCacheEntry *typcache, const RangeBound *value, const RangeBound *hist,
index f29de6aab48845c218abd8faefbfcc54b084ad89..912b43f083614f14798e8d4996e15529e8e6e36c 100644 (file)
@@ -512,7 +512,7 @@ spg_range_quad_inner_consistent(PG_FUNCTION_ARGS)
 
                    /*
                     * Range A is overleft to range B if upper bound of A is
-                    * less or equal to upper bound of B.
+                    * less than or equal to upper bound of B.
                     */
                    maxUpper = &upper;
                    break;
@@ -531,7 +531,7 @@ spg_range_quad_inner_consistent(PG_FUNCTION_ARGS)
 
                    /*
                     * Range A is overright to range B if lower bound of A is
-                    * greater or equal to lower bound of B.
+                    * greater than or equal to lower bound of B.
                     */
                    minLower = &lower;
                    break;
@@ -608,7 +608,7 @@ spg_range_quad_inner_consistent(PG_FUNCTION_ARGS)
                    /*
                     * Non-empty range A contains non-empty range B if lower
                     * bound of A is lower or equal to lower bound of range B
-                    * and upper bound of range A is greater or equal to upper
+                    * and upper bound of range A is greater than or equal to upper
                     * bound of range A.
                     *
                     * All non-empty ranges contain an empty range.
index b79f70a60d4ef6456e2c41baecaa0f703ad0e919..367496485734f24bcd9b92711893e290d29f4562 100644 (file)
@@ -180,7 +180,7 @@ main(int argc, char *argv[])
                }
                if (!TransactionIdIsNormal(set_oldest_xid))
                {
-                   pg_log_error("oldest transaction ID (-u) must be greater or equal to %u", FirstNormalTransactionId);
+                   pg_log_error("oldest transaction ID (-u) must be greater than or equal to %u", FirstNormalTransactionId);
                    exit(1);
                }
                break;
@@ -195,7 +195,7 @@ main(int argc, char *argv[])
                }
                if (!TransactionIdIsNormal(set_xid))
                {
-                   pg_log_error("transaction ID (-x) must be greater or equal to %u", FirstNormalTransactionId);
+                   pg_log_error("transaction ID (-x) must be greater than or equal to %u", FirstNormalTransactionId);
                    exit(1);
                }
                break;