summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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_resetxlog/pg_resetxlog.c2
3 files changed, 5 insertions, 5 deletions
diff --git a/src/backend/utils/adt/rangetypes_selfuncs.c b/src/backend/utils/adt/rangetypes_selfuncs.c
index 1f39604689e..2a2eefe168c 100644
--- a/src/backend/utils/adt/rangetypes_selfuncs.c
+++ b/src/backend/utils/adt/rangetypes_selfuncs.c
@@ -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,
diff --git a/src/backend/utils/adt/rangetypes_spgist.c b/src/backend/utils/adt/rangetypes_spgist.c
index 72d97986a33..88c2089e6df 100644
--- a/src/backend/utils/adt/rangetypes_spgist.c
+++ b/src/backend/utils/adt/rangetypes_spgist.c
@@ -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.
diff --git a/src/bin/pg_resetxlog/pg_resetxlog.c b/src/bin/pg_resetxlog/pg_resetxlog.c
index 71f2391925d..69b4531e968 100644
--- a/src/bin/pg_resetxlog/pg_resetxlog.c
+++ b/src/bin/pg_resetxlog/pg_resetxlog.c
@@ -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;