Skip to content

Commit 48de3bb

Browse files
author
Etsuro Fujita
committed
Update obsolete comment.
Commit b52b7dc, 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
1 parent 62f4dd3 commit 48de3bb

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/backend/partitioning/partbounds.c

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -360,9 +360,8 @@ create_list_bounds(PartitionBoundSpec **boundspecs, int nparts,
360360
else
361361
{
362362
/*
363-
* Never put a null into the values array, flag instead for
364-
* the code further down below where we construct the actual
365-
* relcache struct.
363+
* Never put a null into the values array; save the index of
364+
* the partition that stores nulls, instead.
366365
*/
367366
if (null_index != -1)
368367
elog(ERROR, "found null more than once");

0 commit comments

Comments
 (0)