initialize-inteleaved_parts.patch
application/octet-stream
Filename: initialize-inteleaved_parts.patch
Type: application/octet-stream
Part: 0
Patch
Format: unified
| File | + | − |
|---|---|---|
| src/backend/partitioning/partbounds.c | 3 | 0 |
diff --git a/src/backend/partitioning/partbounds.c b/src/backend/partitioning/partbounds.c index fdfe712f91..d286ef91e1 100644 --- a/src/backend/partitioning/partbounds.c +++ b/src/backend/partitioning/partbounds.c @@ -2564,6 +2564,9 @@ build_merged_partition_bounds(char strategy, List *merged_datums, merged_bounds->kind = NULL; } + /* We don't currently care to set this accurately for merged bounds. */ + merged_bounds->interleaved_parts = NULL; + Assert(list_length(merged_indexes) == ndatums); merged_bounds->nindexes = ndatums; merged_bounds->indexes = (int *) palloc(sizeof(int) * ndatums);