diff options
author | Etsuro Fujita <efujita@postgresql.org> | 2019-10-21 17:30:01 +0900 |
---|---|---|
committer | Etsuro Fujita <efujita@postgresql.org> | 2019-10-21 17:30:01 +0900 |
commit | 48de3bb1a50d3c53f50d827a05deee5adcbb936e (patch) | |
tree | 4c9bfedd18ded2aa5d17cba1d0eaf1024ae33566 /src/backend/partitioning/partbounds.c | |
parent | 62f4dd3796dac30e2230baa4afbb7d2a626d9373 (diff) | |
download | postgresql-48de3bb1a50d3c53f50d827a05deee5adcbb936e.tar.gz postgresql-48de3bb1a50d3c53f50d827a05deee5adcbb936e.zip |
Update obsolete comment.
Commit b52b7dc25, which moved code creating PartitionBoundInfo in
RelationBuildPartitionDesc() in partcache.c (relocated to partdesc.c
afterwards) to partbounds.c, should have updated this, but didn't.
Author: Etsuro Fujita
Reviewed-by: Alvaro Herrera
Backpatch-through: 12
Discussion: https://postgr.es/m/CAPmGK16Uxr%3DPatiGyaRwiQVLB7Y-GqbkK3AxRLVYzU0Czv%3DsEw%40mail.gmail.com
Diffstat (limited to 'src/backend/partitioning/partbounds.c')
-rw-r--r-- | src/backend/partitioning/partbounds.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/backend/partitioning/partbounds.c b/src/backend/partitioning/partbounds.c index 90036b42dc6..f205cd435e1 100644 --- a/src/backend/partitioning/partbounds.c +++ b/src/backend/partitioning/partbounds.c @@ -360,9 +360,8 @@ create_list_bounds(PartitionBoundSpec **boundspecs, int nparts, else { /* - * Never put a null into the values array, flag instead for - * the code further down below where we construct the actual - * relcache struct. + * Never put a null into the values array; save the index of + * the partition that stores nulls, instead. */ if (null_index != -1) elog(ERROR, "found null more than once"); |