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
(1) |
3
|
4
|
5
|
6
|
7
|
8
|
9
(4) |
10
(1) |
11
|
12
|
13
(1) |
14
(1) |
15
|
16
(1) |
17
|
18
|
19
|
20
|
21
(1) |
22
(1) |
23
(1) |
24
|
25
|
26
|
27
|
28
|
29
|
30
|
31
|
|
From: mason_s <ma...@us...> - 2010-12-13 22:35:28
|
Project "Postgres-XC". The branch, master has been updated via 75fbef774e81432cdd5ff4eeabf203b12be560a9 (commit) from 8506374787c98b149949d4fcbbb88b51b3b9a0fc (commit) - Log ----------------------------------------------------------------- commit 75fbef774e81432cdd5ff4eeabf203b12be560a9 Author: Mason Sharp <ma...@us...> Date: Mon Dec 13 17:31:27 2010 -0500 Fixed bug in INSERT when omitting a value for the partitioning column. diff --git a/src/backend/pgxc/locator/locator.c b/src/backend/pgxc/locator/locator.c index 4c65f49..4191455 100644 --- a/src/backend/pgxc/locator/locator.c +++ b/src/backend/pgxc/locator/locator.c @@ -359,11 +359,15 @@ GetRelationNodes(RelationLocInfo *rel_loc_info, long *partValue, } else { - /* - * No partitioning value passed in - * (no where qualification on part column - use all) - */ - exec_nodes->nodelist = list_copy(rel_loc_info->nodeList); + /* If no info, go to node 1 */ + if (accessType == RELATION_ACCESS_WRITE) + exec_nodes->nodelist = lappend_int(NULL, 1); + else + /* + * No partitioning value passed in + * (no where qualification on part column - use all) + */ + exec_nodes->nodelist = list_copy(rel_loc_info->nodeList); } break; diff --git a/src/backend/pgxc/plan/planner.c b/src/backend/pgxc/plan/planner.c index 4c677aa..fa61826 100644 --- a/src/backend/pgxc/plan/planner.c +++ b/src/backend/pgxc/plan/planner.c @@ -549,8 +549,8 @@ get_plan_nodes_insert(Query *query, RemoteQuery *step) if (!lc) { - /* give up */ - step->exec_nodes = NULL; + /* Skip rest, handle NULL */ + step->exec_nodes = GetRelationNodes(rel_loc_info, NULL, RELATION_ACCESS_WRITE); return; } ----------------------------------------------------------------------- Summary of changes: src/backend/pgxc/locator/locator.c | 14 +++++++++----- src/backend/pgxc/plan/planner.c | 4 ++-- 2 files changed, 11 insertions(+), 7 deletions(-) hooks/post-receive -- Postgres-XC |