<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;
*
* 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,
*
* 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,
/*
* 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;
/*
* 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;
/*
* 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.
}
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;
}
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;