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
(3) |
4
(3) |
5
|
6
|
7
|
8
|
9
(1) |
10
(1) |
11
(3) |
12
(4) |
13
|
14
|
15
|
16
(1) |
17
|
18
|
19
(1) |
20
|
21
|
22
|
23
|
24
(7) |
25
(16) |
26
(2) |
27
|
28
|
29
|
30
(4) |
31
(3) |
|
|
|
|
From: Michael P. <mic...@us...> - 2011-05-26 06:44:33
|
Project "Postgres-XC". The branch, master has been updated via 3bdbebb9ab2ea6fb9f3fbff5470df82f96b5f90c (commit) from 4a7fcb29f0ac168c99f78bdf86078be24015ddb0 (commit) - Log ----------------------------------------------------------------- commit 3bdbebb9ab2ea6fb9f3fbff5470df82f96b5f90c Author: Michael P <mic...@us...> Date: Thu May 26 15:40:07 2011 +0900 Fix for bug 3299211: JDBC and DML queries Running DML queries through JDBC to an XC instance was crashing the server. Report and patch from sch19831106, with some code refactoring by me. diff --git a/src/backend/commands/prepare.c b/src/backend/commands/prepare.c index a334a34..7d6e90e 100644 --- a/src/backend/commands/prepare.c +++ b/src/backend/commands/prepare.c @@ -476,6 +476,10 @@ InitQueryHashTable(void) static int set_remote_stmtname(Plan *plan, const char *stmt_name, int n) { + /* If no plan simply return */ + if (!plan) + return 0; + if (IsA(plan, RemoteQuery)) { DatanodeStatement *entry; diff --git a/src/backend/utils/cache/plancache.c b/src/backend/utils/cache/plancache.c index 3cb09dc..2728c32 100644 --- a/src/backend/utils/cache/plancache.c +++ b/src/backend/utils/cache/plancache.c @@ -678,12 +678,17 @@ ReleaseCachedPlan(CachedPlan *plan, bool useResOwner) if (plan->fully_planned) { ListCell *lc; - /* close any active datanode statements */ + + /* Close any active planned datanode statements */ foreach (lc, plan->stmt_list) { - PlannedStmt *ps = (PlannedStmt *)lfirst(lc); + Node *node = lfirst(lc); - release_datanode_statements(ps->planTree); + if (IsA(node, PlannedStmt)) + { + PlannedStmt *ps = (PlannedStmt *)node; + release_datanode_statements(ps->planTree); + } } } #endif ----------------------------------------------------------------------- Summary of changes: src/backend/commands/prepare.c | 4 ++++ src/backend/utils/cache/plancache.c | 11 ++++++++--- 2 files changed, 12 insertions(+), 3 deletions(-) hooks/post-receive -- Postgres-XC |
From: Michael P. <mic...@us...> - 2011-05-26 01:30:56
|
Project "Postgres-XC". The branch, PGXC-TrialMaster has been updated via c07ee5cf650c03a298650ddaf5fa9f0aa9f91876 (commit) from ac040624b275cca2c3b9c62c88be2bc88887f885 (commit) - Log ----------------------------------------------------------------- commit c07ee5cf650c03a298650ddaf5fa9f0aa9f91876 Author: Michael P <mic...@us...> Date: Thu May 26 10:27:52 2011 +0900 Fix for regression test float8 Test was failing due to a query not correctly written. diff --git a/src/test/regress/expected/float8_1.out b/src/test/regress/expected/float8_1.out index 8ce7930..3708d21 100644 --- a/src/test/regress/expected/float8_1.out +++ b/src/test/regress/expected/float8_1.out @@ -382,7 +382,8 @@ UPDATE FLOAT8_TBL SET f1 = FLOAT8_TBL.f1 * '-1' WHERE FLOAT8_TBL.f1 > '0.0'; ERROR: Partition column can't be updated in current version -SELECT '' AS bad, f.f1 ^ '1e200' from FLOAT8_TBL f ORDER BY f1; + +SELECT '' AS bad, f.f1 * '1e200' from FLOAT8_TBL f ORDER BY f1; ERROR: value out of range: overflow SELECT '' AS bad, f.f1 ^ '1e200' from FLOAT8_TBL f ORDER BY f1; ERROR: value out of range: overflow ----------------------------------------------------------------------- Summary of changes: src/test/regress/expected/float8_1.out | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) hooks/post-receive -- Postgres-XC |