mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-09-06 18:49:27 +02:00
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
This commit is contained in:
parent
62f4dd3796
commit
48de3bb1a5
@ -360,9 +360,8 @@ create_list_bounds(PartitionBoundSpec **boundspecs, int nparts,
|
|||||||
else
|
else
|
||||||
{
|
{
|
||||||
/*
|
/*
|
||||||
* Never put a null into the values array, flag instead for
|
* Never put a null into the values array; save the index of
|
||||||
* the code further down below where we construct the actual
|
* the partition that stores nulls, instead.
|
||||||
* relcache struct.
|
|
||||||
*/
|
*/
|
||||||
if (null_index != -1)
|
if (null_index != -1)
|
||||||
elog(ERROR, "found null more than once");
|
elog(ERROR, "found null more than once");
|
||||||
|
Loading…
Reference in New Issue
Block a user