Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 05e60ae

Browse files
committed
Fix wording
1 parent b406478 commit 05e60ae

File tree

5 files changed

+8
-8
lines changed

5 files changed

+8
-8
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/multirangetypes_selfuncs.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -734,7 +734,7 @@ calc_hist_selectivity_scalar(TypeCacheEntry *typcache, const RangeBound *constbo
734734
*
735735
* This function is used in scalar operator selectivity estimation. Another
736736
* goal of this function is to find a histogram bin where to stop
737-
* interpolation of portion of bounds which are less or equal to given bound.
737+
* interpolation of portion of bounds which are less than or equal to given bound.
738738
*/
739739
static int
740740
rbound_bsearch(TypeCacheEntry *typcache, const RangeBound *value, const RangeBound *hist,

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, const RangeBound *constbo
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, const RangeBound *value, const RangeBound *hist,

src/backend/utils/adt/rangetypes_spgist.c

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

513513
/*
514514
* Range A is overleft to range B if upper bound of A is
515-
* less or equal to upper bound of B.
515+
* less than or equal to upper bound of B.
516516
*/
517517
maxUpper = &upper;
518518
break;
@@ -531,7 +531,7 @@ spg_range_quad_inner_consistent(PG_FUNCTION_ARGS)
531531

532532
/*
533533
* Range A is overright to range B if lower bound of A is
534-
* greater or equal to lower bound of B.
534+
* greater than or equal to lower bound of B.
535535
*/
536536
minLower = &lower;
537537
break;
@@ -608,7 +608,7 @@ spg_range_quad_inner_consistent(PG_FUNCTION_ARGS)
608608
/*
609609
* Non-empty range A contains non-empty range B if lower
610610
* bound of A is lower or equal to lower bound of range B
611-
* and upper bound of range A is greater or equal to upper
611+
* and upper bound of range A is greater than or equal to upper
612612
* bound of range A.
613613
*
614614
* 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)