Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitc161ea1

Browse files
committed
Update and improve comments.
Commits6f6b99d andf3b0897 didn't properly updatethese comments.Etsuro Fujita, reviewed by Amit LangoteDiscussion:http://postgr.es/m/5A671FE1.6020305@lab.ntt.co.jp
1 parent6d933da commitc161ea1

File tree

1 file changed

+5
-8
lines changed

1 file changed

+5
-8
lines changed

‎src/backend/catalog/partition.c

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -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
*/
17371734
staticList*
17381735
get_qual_for_hash(Relationparent,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 thepartition key and boundstructures.
1812+
* constraint, given theparent relation andpartitionboundstructure.
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 thepartition key and boundstructures.
2086+
* constraint, given theparent relation andpartitionboundstructure.
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

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp