return false;
/*
- * We arrange the partitions in the ascending order of their modulus
+ * We arrange the partitions in the ascending order of their moduli
* and remainders. Also every modulus is factor of next larger
* modulus. Therefore we can safely store index of a given partition
* in indexes array at remainder of that partition. Also entries at
*
* Returns the greatest modulus of the hash partition bound. The greatest
* modulus will be at the end of the datums array because hash partitions are
- * arranged in the ascending order of their modulus and remainders.
+ * arranged in the ascending order of their moduli and remainders.
*/
int
get_hash_partition_greatest_modulus(PartitionBoundInfo bound)
/*
* partition_hbound_cmp
*
- * Compares modulus first, then remainder if modulus are equal.
+ * Compares modulus first, then remainder if modulus is equal.
*/
int32
partition_hbound_cmp(int modulus1, int remainder1, int modulus2, int remainder2)
{
case PARTITION_STRATEGY_HASH:
{
- /* Modulus are stored in ascending order */
+ /* Moduli are stored in ascending order */
int greatest_modulus = hbounds[ndatums - 1]->modulus;
boundinfo->indexes = (int *) palloc(greatest_modulus *