Fix wording
authorPeter Eisentraut <[email protected]>
Fri, 6 Aug 2021 18:55:59 +0000 (20:55 +0200)
committerPeter Eisentraut <[email protected]>
Fri, 6 Aug 2021 18:59:41 +0000 (20:59 +0200)
doc/src/sgml/rules.sgml
src/backend/utils/adt/rangetypes_selfuncs.c
src/backend/utils/adt/rangetypes_spgist.c
src/bin/pg_resetxlog/pg_resetxlog.c

index 1a2b11bd212a51d517667d23ae9c2fee672976d5..5c30e361d424a1653d1ce359123e622257a1ac32 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 1f39604689e41d154dd67756c48b464586dbe38f..2a2eefe168c35e2b1e1464b00d01e4db3600b356 100644 (file)
@@ -631,7 +631,7 @@ calc_hist_selectivity_scalar(TypeCacheEntry *typcache, RangeBound *constbound,
  *
  * 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, RangeBound *value, RangeBound *hist,
index 72d97986a335021993f530bcf61f0f0eda11f268..88c2089e6df4e71d47334f68910257096a7b5ad2 100644 (file)
@@ -520,7 +520,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;
@@ -539,7 +539,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;
@@ -616,7 +616,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 71f2391925db362aa8254646a57064da694e7691..69b4531e968990b311d9b3ec383f4d9ab4335520 100644 (file)
@@ -160,7 +160,7 @@ main(int argc, char *argv[])
                }
                if (!TransactionIdIsNormal(set_oldest_xid))
                {
-                   fprintf(stderr, _("oldest transaction ID (-u) must be greater or equal to %u"), FirstNormalTransactionId);
+                   fprintf(stderr, _("oldest transaction ID (-u) must be greater than or equal to %u"), FirstNormalTransactionId);
                    exit(1);
                }
                break;