You can subscribe to this list here.
2010 |
Jan
|
Feb
|
Mar
|
Apr
(4) |
May
(28) |
Jun
(12) |
Jul
(11) |
Aug
(12) |
Sep
(5) |
Oct
(19) |
Nov
(14) |
Dec
(12) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2011 |
Jan
(18) |
Feb
(30) |
Mar
(115) |
Apr
(89) |
May
(50) |
Jun
(44) |
Jul
(22) |
Aug
(13) |
Sep
(11) |
Oct
(30) |
Nov
(28) |
Dec
(39) |
2012 |
Jan
(38) |
Feb
(18) |
Mar
(43) |
Apr
(91) |
May
(108) |
Jun
(46) |
Jul
(37) |
Aug
(44) |
Sep
(33) |
Oct
(29) |
Nov
(36) |
Dec
(15) |
2013 |
Jan
(35) |
Feb
(611) |
Mar
(5) |
Apr
(55) |
May
(30) |
Jun
(28) |
Jul
(458) |
Aug
(34) |
Sep
(9) |
Oct
(39) |
Nov
(22) |
Dec
(32) |
2014 |
Jan
(16) |
Feb
(16) |
Mar
(42) |
Apr
(179) |
May
(7) |
Jun
(6) |
Jul
(9) |
Aug
|
Sep
(4) |
Oct
|
Nov
(3) |
Dec
|
2015 |
Jan
|
Feb
|
Mar
|
Apr
(2) |
May
(4) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
S | M | T | W | T | F | S |
---|---|---|---|---|---|---|
|
|
|
|
|
1
|
2
|
3
|
4
(2) |
5
|
6
|
7
|
8
|
9
|
10
|
11
|
12
|
13
(3) |
14
|
15
|
16
|
17
|
18
(4) |
19
(1) |
20
|
21
|
22
|
23
|
24
|
25
|
26
(1) |
27
(2) |
28
(6) |
29
|
30
|
31
|
|
|
|
|
|
|
From: mason_s <ma...@us...> - 2010-10-04 20:54:09
|
Project "Postgres-XC". The branch, master has been updated via ea13b66f4beaeb13db9741fb5a1347f976b9ebab (commit) from d044db4cc1b8cf18f14cfaa6c65d39ec14905dfb (commit) - Log ----------------------------------------------------------------- commit ea13b66f4beaeb13db9741fb5a1347f976b9ebab Author: Mason Sharp <ma...@us...> Date: Mon Oct 4 16:53:07 2010 -0400 Fixed bug where extra materialization nodes were being created. By Pavan Deolasee diff --git a/src/backend/optimizer/plan/createplan.c b/src/backend/optimizer/plan/createplan.c index 337f17b..818ea1b 100644 --- a/src/backend/optimizer/plan/createplan.c +++ b/src/backend/optimizer/plan/createplan.c @@ -321,15 +321,6 @@ create_scan_plan(PlannerInfo *root, Path *best_path) best_path, tlist, scan_clauses); - - /* - * Insert a materialization plan above this temporarily - * until we better handle multiple steps using the same connection. - */ - matplan = (Plan *) make_material(plan); - copy_plan_costsize(matplan, plan); - matplan->total_cost += cpu_tuple_cost * matplan->plan_rows; - plan = matplan; break; #endif default: diff --git a/src/backend/optimizer/util/pathnode.c b/src/backend/optimizer/util/pathnode.c index cbf7618..ca2e2a2 100644 --- a/src/backend/optimizer/util/pathnode.c +++ b/src/backend/optimizer/util/pathnode.c @@ -1325,9 +1325,15 @@ create_remotequery_path(PlannerInfo *root, RelOptInfo *rel) pathnode->parent = rel; pathnode->pathkeys = NIL; /* result is always unordered */ - // PGXCTODO - set cost properly + /* PGXCTODO - set cost properly */ cost_seqscan(pathnode, root, rel); + /* + * Insert a materialization plan above this temporarily + * until we better handle multiple steps using the same connection. + */ + pathnode = create_material_path(rel, pathnode); + return pathnode; } #endif ----------------------------------------------------------------------- Summary of changes: src/backend/optimizer/plan/createplan.c | 9 --------- src/backend/optimizer/util/pathnode.c | 8 +++++++- 2 files changed, 7 insertions(+), 10 deletions(-) hooks/post-receive -- Postgres-XC |
From: mason_s <ma...@us...> - 2010-10-04 20:52:39
|
Project "Postgres-XC". The branch, master has been updated via d044db4cc1b8cf18f14cfaa6c65d39ec14905dfb (commit) from e4978385ac1e81be3b95fe51656a0a166cfc22fb (commit) - Log ----------------------------------------------------------------- commit d044db4cc1b8cf18f14cfaa6c65d39ec14905dfb Author: Mason Sharp <ma...@us...> Date: Sat Oct 2 19:21:57 2010 +0900 Fix a bug with EXPLAIN and EXPLAIN VERBOSE. If it was a single-step statement, the output plan would incorrectly display a coordinator-based standard plan instead of the simple one. Bug and cause of problem discovered by Pavan Deolasee diff --git a/src/backend/pgxc/plan/planner.c b/src/backend/pgxc/plan/planner.c index a88179b..29e4ee0 100644 --- a/src/backend/pgxc/plan/planner.c +++ b/src/backend/pgxc/plan/planner.c @@ -2218,10 +2218,12 @@ pgxc_planner(Query *query, int cursorOptions, ParamListInfo boundParams) } /* - * If there already is an active portal, we may be doing planning within a function. - * Just use the standard plan + * If there already is an active portal, we may be doing planning + * within a function. Just use the standard plan, but check if + * it is part of an EXPLAIN statement so that we do not show that + * we plan multiple steps when it is a single-step operation. */ - if (ActivePortal) + if (ActivePortal && strcmp(ActivePortal->commandTag, "EXPLAIN")) return standard_planner(query, cursorOptions, boundParams); query_step->is_single_step = true; ----------------------------------------------------------------------- Summary of changes: src/backend/pgxc/plan/planner.c | 8 +++++--- 1 files changed, 5 insertions(+), 3 deletions(-) hooks/post-receive -- Postgres-XC |