@@ -1725,14 +1725,11 @@ make_partition_op_expr(PartitionKey key, int keynum,
17251725/*
17261726 * get_qual_for_hash
17271727 *
1728- * Given a list of partition columns, modulus and remainder corresponding to a
1729- * partition, this function returns CHECK constraint expression Node for that
1730- * partition.
1728+ * Returns a CHECK constraint expression to use as a hash partition's
1729+ * constraint, given the parent relation and partition bound structure.
17311730 *
17321731 * The partition constraint for a hash partition is always a call to the
1733- * built-in function satisfies_hash_partition(). The first two arguments are
1734- * the modulus and remainder for the partition; the remaining arguments are the
1735- * values to be hashed.
1732+ * built-in function satisfies_hash_partition().
17361733 */
17371734static List *
17381735get_qual_for_hash (Relation parent , PartitionBoundSpec * spec )
@@ -1812,7 +1809,7 @@ get_qual_for_hash(Relation parent, PartitionBoundSpec *spec)
18121809 * get_qual_for_list
18131810 *
18141811 * Returns an implicit-AND list of expressions to use as a list partition's
1815- * constraint, given the partition key and bound structures .
1812+ * constraint, given the parent relation and partition bound structure .
18161813 *
18171814 * The function returns NIL for a default partition when it's the only
18181815 * partition since in that case there is no constraint.
@@ -2086,7 +2083,7 @@ get_range_nulltest(PartitionKey key)
20862083 * get_qual_for_range
20872084 *
20882085 * Returns an implicit-AND list of expressions to use as a range partition's
2089- * constraint, given the partition key and bound structures .
2086+ * constraint, given the parent relation and partition bound structure .
20902087 *
20912088 * For a multi-column range partition key, say (a, b, c), with (al, bl, cl)
20922089 * as the lower bound tuple and (au, bu, cu) as the upper bound tuple, we
0 commit comments