On 4/16/25 18:22, Tom Lane wrote:
I wouldn't say I'm entirely convinced that side effects are absent, but multiple copies of the same query tree look messy now. It makes sense to try this way and see what happens.Maybe we would like to have some enforced contract about what subquery_planner can and can't touch in the outer planner level's data, but I'm not feeling a great need for that right now.
-- regards, Andrei Lepikhov