]> git.ipfire.org Git - thirdparty/postgresql.git/commitdiff
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:57:33 +0000 (20:57 +0200)
doc/src/sgml/rules.sgml
src/backend/utils/adt/rangetypes_selfuncs.c
src/backend/utils/adt/rangetypes_spgist.c
src/bin/pg_resetwal/pg_resetwal.c

index 7f7548d98122b73fae25459848007ca3eef53761..f9df9de8ae11da4539113bc82dfcd005b3cb5e9a 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 683898863ab4443bf6164185fe1189f72746cdad..a08ff937e7415ed0495e47a9ef93b90688a57e32 100644 (file)
@@ -622,7 +622,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 8bb730ce8e5b6db091d9326d236fbeb10d43caa1..1f3a03ab31e580873562044e5ff1ced8f461061c 100644 (file)
@@ -513,7 +513,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;
@@ -532,7 +532,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;
@@ -609,7 +609,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 200db99176337895329a9967d4cacc505bc94bb5..fc798961264f321509fbf59fdbf5e7b3bf19d257 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;