- Notifications
You must be signed in to change notification settings - Fork5k
Commit16239c5
committed
Ensure interleaved_parts field is always initialized
This field was recently added indb632fb, however that commit missed oneplace where it should have initialized the new field to NULL. The missedlocation is where the PartitionBoundInfo is created for partition-wisejoin relations. Technically there could be interleaved partitions in apartition-wise join relation, but currently the only optimization we usethis field for only does so for base rels and other member rels. So justdocument that we don't populate this field for join rels.Reported-by: Amit LangoteAuthor: Amit Langote, David RowleyReviewed-by: Amit Langote, David RowleyDiscussion:https://postgr.es/m/CA+HiwqE76Rps24kwHsd2Cr82Ua07tJC9t9reG0c7ScX9n_xrEA@mail.gmail.com1 parent20f8671 commit16239c5
File tree
2 files changed
+6
-1
lines changed- src
- backend/partitioning
- include/partitioning
2 files changed
+6
-1
lines changedLines changed: 3 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
2564 | 2564 |
| |
2565 | 2565 |
| |
2566 | 2566 |
| |
| 2567 | + | |
| 2568 | + | |
| 2569 | + | |
2567 | 2570 |
| |
2568 | 2571 |
| |
2569 | 2572 |
| |
|
Lines changed: 3 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
72 | 72 |
| |
73 | 73 |
| |
74 | 74 |
| |
75 |
| - | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
76 | 78 |
| |
77 | 79 |
| |
78 | 80 |
| |
|
0 commit comments
Comments
(0)