- Notifications
You must be signed in to change notification settings - Fork5
Commit04ae11f
committed
Remove bogus code to apply PathTargets to partial paths.
The partial paths that get modified may already have been used aspart of a GatherPath which appears in the path list, so modifyingthem is not a good idea at this stage - especially because thiscode has no check that the PathTarget is in fact parallel-safe.When partial aggregation is being performed, this is actuallyharmless because we'll end up replacing the pathtargets here withthe correct ones within create_grouping_paths(). But if we've gota query tree containing only scan/join operations then this canresult in incorrectly pushing down parallel-restricted targetlist entries. If those are, for example, references to subqueries,that can crash the server; but it's wrong in any event.Amit Kapila1 parentcac8321 commit04ae11f
1 file changed
+0
-13
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1758 | 1758 | | |
1759 | 1759 | | |
1760 | 1760 | | |
1761 | | - | |
1762 | | - | |
1763 | | - | |
1764 | | - | |
1765 | | - | |
1766 | | - | |
1767 | | - | |
1768 | | - | |
1769 | | - | |
1770 | | - | |
1771 | | - | |
1772 | | - | |
1773 | | - | |
1774 | 1761 | | |
1775 | 1762 | | |
1776 | 1763 | | |
| |||
0 commit comments
Comments
(0)