| From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
|---|---|
| To: | pgsql-committers(at)postgresql(dot)org |
| Subject: | pgsql: Fix minor thinko in pathification code. |
| Date: | 2016-03-08 21:50:56 |
| Message-ID: | E1adPWq-0006oj-5L@gemulon.postgresql.org |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-committers |
Fix minor thinko in pathification code.
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.
Branch
------
master
Details
-------
http://git.postgresql.org/pg/commitdiff/61fd218930db53079e5f001dd4ea2fd53afd1b95
Modified Files
--------------
src/backend/optimizer/plan/planagg.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Andres Freund | 2016-03-08 23:13:45 | pgsql: ltree: Zero padding bytes when allocating memory for externally |
| Previous Message | Andres Freund | 2016-03-08 21:49:40 | pgsql: plperl: Correctly handle empty arrays in plperl_ref_from_pg_arra |