mirror of
https://github.com/postgres/postgres.git
synced 2025-07-24 14:22:24 +03:00
@ -405,9 +405,9 @@ remove_rel_from_query(PlannerInfo *root, RelOptInfo *rel,
|
||||
replace_varno((Node *) otherrel->lateral_vars, relid, subst);
|
||||
|
||||
/*
|
||||
* Although we pass root->parse through cleanup procedure,
|
||||
* but parse->rtable and rte contains refs to different copies
|
||||
* of the subquery.
|
||||
* Although we pass root->parse through cleanup procedure, but
|
||||
* parse->rtable and rte contains refs to different copies of
|
||||
* the subquery.
|
||||
*/
|
||||
if (otherrel->rtekind == RTE_SUBQUERY)
|
||||
query_tree_walker(rte->subquery, replace_varno_walker, &ctx,
|
||||
|
Reference in New Issue
Block a user