-
Notifications
You must be signed in to change notification settings - Fork 68
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add tableoid junk column to processed_tlist only for top-level parent.
(Note that the column is added to RelOptInfo reltarget of all nodes in the hierarchy anyway; but only tle with top-level varno must get to *main* tlist, i.e. processed_tlist.) Previously it was added for each parent in the tree, i.e. multiple times in case of multi-level partitioning, leading to ERROR: variable not found in subplan target lists errors in setref. As comments say, this code better be rewritten to actually let parent deal with its isParent flag. And to recurce with toplever rc. Probably should be done if adjacent bugs arise.
- Loading branch information
Showing
4 changed files
with
70 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters