@@ -130,7 +130,7 @@ partition_bounds_equal(int partnatts, int16 *parttyplen, bool *parttypbyval,
130
130
return false;
131
131
132
132
/*
133
- * We arrange the partitions in the ascending order of theirmodulus
133
+ * We arrange the partitions in the ascending order of theirmoduli
134
134
* and remainders. Also every modulus is factor of next larger
135
135
* modulus. Therefore we can safely store index of a given partition
136
136
* in indexes array at remainder of that partition. Also entries at
@@ -744,7 +744,7 @@ check_default_allows_bound(Relation parent, Relation default_rel,
744
744
*
745
745
* Returns the greatest modulus of the hash partition bound. The greatest
746
746
* modulus will be at the end of the datums array because hash partitions are
747
- * arranged in the ascending order of theirmodulus and remainders.
747
+ * arranged in the ascending order of theirmoduli and remainders.
748
748
*/
749
749
int
750
750
get_hash_partition_greatest_modulus (PartitionBoundInfo bound )
@@ -912,7 +912,7 @@ partition_rbound_datum_cmp(FmgrInfo *partsupfunc, Oid *partcollation,
912
912
/*
913
913
* partition_hbound_cmp
914
914
*
915
- * Compares modulus first, then remainder if modulusare equal.
915
+ * Compares modulus first, then remainder if modulusis equal.
916
916
*/
917
917
int32
918
918
partition_hbound_cmp (int modulus1 ,int remainder1 ,int modulus2 ,int remainder2 )