mirror of https://github.com/postgres/postgres
I passed the wrong "root" struct to create_pathtarget in build_minmax_path. Since the subroot is a clone of the outer root, this would not cause any serious problems, but it would waste some cycles because set_pathtarget_cost_width would not have access to Var width estimates set up while running query_planner on the subroot.pull/11/head
parent
e66197fa2e
commit
61fd218930
Loading…
Reference in new issue