aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/backend/partitioning/partbounds.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/backend/partitioning/partbounds.c b/src/backend/partitioning/partbounds.c
index 318d8ecae9a..4bc88104ee9 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");