Content-Length: 266431 | pFad | http://github.com/postgrespro/postgres_cluster/commit/01a0ca1bed02d6a375c6565a529555eefd2b4fe8

5C Improve comment about PartitionBoundInfoData. · postgrespro/postgres_cluster@01a0ca1 · GitHub
Skip to content

Commit 01a0ca1

Browse files
committed
Improve comment about PartitionBoundInfoData.
Ashutosh Bapat, per discussion with Julien Rouhaund, who also reviewed this patch. Discussion: http://postgr.es/m/CAFjFpReBR3ftK9C23LLCZY_TDXhhjB_dgE-L9+mfTnA=gkvdvQ@mail.gmail.com
1 parent 9edc97b commit 01a0ca1

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)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/postgrespro/postgres_cluster/commit/01a0ca1bed02d6a375c6565a529555eefd2b4fe8

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy