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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy