Skip to content

Commit 0afe231

Browse files
committed
Fix wording
1 parent bbc0cd8 commit 0afe231

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

doc/src/sgml/rules.sgml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -546,7 +546,7 @@ SELECT shoelace.sl_name, shoelace.sl_avail,
546546
<para>
547547
Now we want to write a query that finds out for which shoes currently in the store
548548
we have the matching shoelaces (color and length) and where the
549-
total number of exactly matching pairs is greater or equal to two.
549+
total number of exactly matching pairs is greater than or equal to two.
550550

551551
<programlisting>
552552
SELECT * FROM shoe_ready WHERE total_avail &gt;= 2;

src/backend/utils/adt/rangetypes_selfuncs.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -622,7 +622,7 @@ calc_hist_selectivity_scalar(TypeCacheEntry *typcache, RangeBound *constbound,
622622
*
623623
* This function is used in scalar operator selectivity estimation. Another
624624
* goal of this function is to find a histogram bin where to stop
625-
* interpolation of portion of bounds which are less or equal to given bound.
625+
* interpolation of portion of bounds which are less than or equal to given bound.
626626
*/
627627
static int
628628
rbound_bsearch(TypeCacheEntry *typcache, RangeBound *value, RangeBound *hist,

src/backend/utils/adt/rangetypes_spgist.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -513,7 +513,7 @@ spg_range_quad_inner_consistent(PG_FUNCTION_ARGS)
513513

514514
/*
515515
* Range A is overleft to range B if upper bound of A is
516-
* less or equal to upper bound of B.
516+
* less than or equal to upper bound of B.
517517
*/
518518
maxUpper = &upper;
519519
break;
@@ -532,7 +532,7 @@ spg_range_quad_inner_consistent(PG_FUNCTION_ARGS)
532532

533533
/*
534534
* Range A is overright to range B if lower bound of A is
535-
* greater or equal to lower bound of B.
535+
* greater than or equal to lower bound of B.
536536
*/
537537
minLower = &lower;
538538
break;
@@ -609,7 +609,7 @@ spg_range_quad_inner_consistent(PG_FUNCTION_ARGS)
609609
/*
610610
* Non-empty range A contains non-empty range B if lower
611611
* bound of A is lower or equal to lower bound of range B
612-
* and upper bound of range A is greater or equal to upper
612+
* and upper bound of range A is greater than or equal to upper
613613
* bound of range A.
614614
*
615615
* All non-empty ranges contain an empty range.

src/bin/pg_resetwal/pg_resetwal.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ main(int argc, char *argv[])
180180
}
181181
if (!TransactionIdIsNormal(set_oldest_xid))
182182
{
183-
pg_log_error("oldest transaction ID (-u) must be greater or equal to %u", FirstNormalTransactionId);
183+
pg_log_error("oldest transaction ID (-u) must be greater than or equal to %u", FirstNormalTransactionId);
184184
exit(1);
185185
}
186186
break;
@@ -195,7 +195,7 @@ main(int argc, char *argv[])
195195
}
196196
if (!TransactionIdIsNormal(set_xid))
197197
{
198-
pg_log_error("transaction ID (-x) must be greater or equal to %u", FirstNormalTransactionId);
198+
pg_log_error("transaction ID (-x) must be greater than or equal to %u", FirstNormalTransactionId);
199199
exit(1);
200200
}
201201
break;

0 commit comments

Comments
 (0)