aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPeter Eisentraut <peter@eisentraut.org>2021-08-06 20:55:59 +0200
committerPeter Eisentraut <peter@eisentraut.org>2021-08-06 20:55:59 +0200
commit05e60aece33e84960ef566e4735b2d93c2d791c8 (patch)
treeae9372d0f8578e591daf4680123f4e513753dba4 /src
parentb406478b87e2234c0be4ca4105eee3bb466a646b (diff)
downloadpostgresql-05e60aece33e84960ef566e4735b2d93c2d791c8.tar.gz
postgresql-05e60aece33e84960ef566e4735b2d93c2d791c8.zip
Fix wording
Diffstat (limited to 'src')
-rw-r--r--src/backend/utils/adt/multirangetypes_selfuncs.c2
-rw-r--r--src/backend/utils/adt/rangetypes_selfuncs.c2
-rw-r--r--src/backend/utils/adt/rangetypes_spgist.c6
-rw-r--r--src/bin/pg_resetwal/pg_resetwal.c4
4 files changed, 7 insertions, 7 deletions
diff --git a/src/backend/utils/adt/multirangetypes_selfuncs.c b/src/backend/utils/adt/multirangetypes_selfuncs.c
index 191cc1f002f..8d085ca8d4f 100644
--- a/src/backend/utils/adt/multirangetypes_selfuncs.c
+++ b/src/backend/utils/adt/multirangetypes_selfuncs.c
@@ -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,
diff --git a/src/backend/utils/adt/rangetypes_selfuncs.c b/src/backend/utils/adt/rangetypes_selfuncs.c
index a6c3c450ac9..e9852783a53 100644
--- a/src/backend/utils/adt/rangetypes_selfuncs.c
+++ b/src/backend/utils/adt/rangetypes_selfuncs.c
@@ -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,
diff --git a/src/backend/utils/adt/rangetypes_spgist.c b/src/backend/utils/adt/rangetypes_spgist.c
index f29de6aab48..912b43f0836 100644
--- a/src/backend/utils/adt/rangetypes_spgist.c
+++ b/src/backend/utils/adt/rangetypes_spgist.c
@@ -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.
diff --git a/src/bin/pg_resetwal/pg_resetwal.c b/src/bin/pg_resetwal/pg_resetwal.c
index b79f70a60d4..36749648573 100644
--- a/src/bin/pg_resetwal/pg_resetwal.c
+++ b/src/bin/pg_resetwal/pg_resetwal.c
@@ -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;