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

Commit01a0ca1

Browse files
committed
Improve comment about PartitionBoundInfoData.
Ashutosh Bapat, per discussion with Julien Rouhaund, who alsoreviewed this patch.Discussion:http://postgr.es/m/CAFjFpReBR3ftK9C23LLCZY_TDXhhjB_dgE-L9+mfTnA=gkvdvQ@mail.gmail.com
1 parent9edc97b commit01a0ca1

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

‎src/backend/catalog/partition.c

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,13 @@
7272
* of datum-tuples with 2 datums, modulus and remainder, corresponding to a
7373
* given partition.
7474
*
75+
* The datums in datums array are arranged in increasing order as defined by
76+
* functions qsort_partition_rbound_cmp(), qsort_partition_list_value_cmp() and
77+
* qsort_partition_hbound_cmp() for range, list and hash partitioned tables
78+
* respectively. For range and list partitions this simply means that the
79+
* datums in the datums array are arranged in increasing order as defined by
80+
* the partition key's operator classes and collations.
81+
*
7582
* In the case of list partitioning, the indexes array stores one entry for
7683
* every datum, which is the index of the partition that accepts a given datum.
7784
* In case of range partitioning, it stores one entry per distinct range

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp