@@ -130,7 +130,7 @@ partition_bounds_equal(int partnatts, int16 *parttyplen, bool *parttypbyval,
130130return false;
131131
132132/*
133- * We arrange the partitions in the ascending order of theirmodulus
133+ * We arrange the partitions in the ascending order of theirmoduli
134134 * and remainders. Also every modulus is factor of next larger
135135 * modulus. Therefore we can safely store index of a given partition
136136 * in indexes array at remainder of that partition. Also entries at
@@ -744,7 +744,7 @@ check_default_allows_bound(Relation parent, Relation default_rel,
744744 *
745745 * Returns the greatest modulus of the hash partition bound. The greatest
746746 * 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.
748748 */
749749int
750750get_hash_partition_greatest_modulus (PartitionBoundInfo bound )
@@ -912,7 +912,7 @@ partition_rbound_datum_cmp(FmgrInfo *partsupfunc, Oid *partcollation,
912912/*
913913 * partition_hbound_cmp
914914 *
915- * Compares modulus first, then remainder if modulusare equal.
915+ * Compares modulus first, then remainder if modulusis equal.
916916 */
917917int32
918918partition_hbound_cmp (int modulus1 ,int remainder1 ,int modulus2 ,int remainder2 )