diff options
author | Peter Eisentraut <peter@eisentraut.org> | 2021-08-06 20:55:59 +0200 |
---|---|---|
committer | Peter Eisentraut <peter@eisentraut.org> | 2021-08-06 20:59:25 +0200 |
commit | cc788c55bbb031d6168daf71f208e7a73f41e48a (patch) | |
tree | cfe9517f6f273a90741133ccde2469cbf02f65ea | |
parent | 661558bc35c7d0cd10640e7a2a065391ec769a7d (diff) | |
download | postgresql-cc788c55bbb031d6168daf71f208e7a73f41e48a.tar.gz |
Fix wording
-rw-r--r-- | doc/src/sgml/rules.sgml | 2 | ||||
-rw-r--r-- | src/backend/utils/adt/rangetypes_selfuncs.c | 2 | ||||
-rw-r--r-- | src/backend/utils/adt/rangetypes_spgist.c | 6 | ||||
-rw-r--r-- | src/bin/pg_resetwal/pg_resetwal.c | 2 |
4 files changed, 6 insertions, 6 deletions
diff --git a/doc/src/sgml/rules.sgml b/doc/src/sgml/rules.sgml index 1a2b11bd21..5c30e361d4 100644 --- a/doc/src/sgml/rules.sgml +++ b/doc/src/sgml/rules.sgml @@ -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 >= 2; diff --git a/src/backend/utils/adt/rangetypes_selfuncs.c b/src/backend/utils/adt/rangetypes_selfuncs.c index 3c00c0b297..ac8819645b 100644 --- a/src/backend/utils/adt/rangetypes_selfuncs.c +++ b/src/backend/utils/adt/rangetypes_selfuncs.c @@ -621,7 +621,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, diff --git a/src/backend/utils/adt/rangetypes_spgist.c b/src/backend/utils/adt/rangetypes_spgist.c index d39a0d649c..beead2e3b4 100644 --- a/src/backend/utils/adt/rangetypes_spgist.c +++ b/src/backend/utils/adt/rangetypes_spgist.c @@ -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. diff --git a/src/bin/pg_resetwal/pg_resetwal.c b/src/bin/pg_resetwal/pg_resetwal.c index b382793188..5b3c362e56 100644 --- a/src/bin/pg_resetwal/pg_resetwal.c +++ b/src/bin/pg_resetwal/pg_resetwal.c @@ -159,7 +159,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; |