Skip to content
Snippets Groups Projects
Commit 2d83e7c7 authored by Tom Lane's avatar Tom Lane
Browse files

query_tree_mutator should copy RangeTblEntry nodes even when it's not

planning to modify them itself.  Otherwise we end up with shared RTE
substructure, which breaks inheritance_planner because the rte->inh
flag needs to be independent in each copied subquery.  Per bug report
from Chris Piker.
parent ee719299
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment