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-11 09:37:56
|
Project "Postgres-XC". The branch, master has been updated via b170fe2d7fc4bd175c72c2e4370fab223bac24d6 (commit) from 1580ed848d0577c52949c52fe2cec867b5ee1746 (commit) - Log ----------------------------------------------------------------- commit b170fe2d7fc4bd175c72c2e4370fab223bac24d6 Author: Michael P <mic...@us...> Date: Wed May 11 18:29:55 2011 +0900 Support for single-prepared PL/PGSQL functions This commit fixes primarily problems like in bug 3138450 (cache lookup for type 0) where XC was not able to set up plpgsql parameter values because values were not correctly fetched. This commit does not yet solve the special case of multiple uses of same plpgsql datum within a SQL command. PL/PGSQL functions using subqueries are out of scope for the moment due to XC's restrictions regarding multi-prepared statements. diff --git a/src/backend/pgxc/pool/execRemote.c b/src/backend/pgxc/pool/execRemote.c index 47a07f0..43d9606 100644 --- a/src/backend/pgxc/pool/execRemote.c +++ b/src/backend/pgxc/pool/execRemote.c @@ -4057,17 +4057,45 @@ ParamListToDataRow(ParamListInfo params, char** result) StringInfoData buf; uint16 n16; int i; + int real_num_params = params->numParams; + + /* + * It is necessary to fetch parameters + * before looking at the output value. + */ + for (i = 0; i < params->numParams; i++) + { + ParamExternData *param; + + param = ¶ms->params[i]; + + if (!OidIsValid(param->ptype) && params->paramFetch != NULL) + (*params->paramFetch) (params, i + 1); + + /* + * In case parameter type is not defined, it is not necessary to include + * it in message sent to backend nodes. + */ + if (!OidIsValid(param->ptype)) + real_num_params--; + } initStringInfo(&buf); + /* Number of parameter values */ - n16 = htons(params->numParams); + n16 = htons(real_num_params); appendBinaryStringInfo(&buf, (char *) &n16, 2); /* Parameter values */ for (i = 0; i < params->numParams; i++) { - ParamExternData *param = params->params + i; + ParamExternData *param = ¶ms->params[i]; uint32 n32; + + /* If parameter has no type defined it is not necessary to include it in message */ + if (!OidIsValid(param->ptype)) + continue; + if (param->isnull) { n32 = htonl(-1); ----------------------------------------------------------------------- Summary of changes: src/backend/pgxc/pool/execRemote.c | 32 ++++++++++++++++++++++++++++++-- 1 files changed, 30 insertions(+), 2 deletions(-) hooks/post-receive -- Postgres-XC |
From: Michael P. <mic...@us...> - 2011-05-11 07:05:19
|
Project "Postgres-XC". The branch, ha_support has been updated via cf27a768d5e2f74c88d029a03d857a8d57040e34 (commit) from 3cf91c1fec8c9756b0f1b417a35d4e02b4ad427a (commit) - Log ----------------------------------------------------------------- commit cf27a768d5e2f74c88d029a03d857a8d57040e34 Author: Michael P <mic...@us...> Date: Wed May 11 16:01:21 2011 +0900 Fix for GXID feed This fix is already done on master branch, but it became also necessary here for HA test purposes. diff --git a/src/backend/access/transam/xact.c b/src/backend/access/transam/xact.c index 1f3c09f..a619fd4 100644 --- a/src/backend/access/transam/xact.c +++ b/src/backend/access/transam/xact.c @@ -1751,13 +1751,14 @@ CommitTransaction(bool contact_gtm) bool PrepareLocalCoord = false; bool PreparePGXCNodes = false; char implicitgid[256]; - TransactionId xid = GetCurrentTransactionId(); + TransactionId xid = InvalidTransactionId; if (IS_PGXC_COORDINATOR && !IsConnFromCoord() && contact_gtm) PreparePGXCNodes = PGXCNodeIsImplicit2PC(&PrepareLocalCoord); if (PrepareLocalCoord || PreparePGXCNodes) { + xid = GetCurrentTransactionId(); sprintf(implicitgid, "T%d", xid); /* Build Implicit 2PC Data for implicit PREPARE */ ----------------------------------------------------------------------- Summary of changes: src/backend/access/transam/xact.c | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) hooks/post-receive -- Postgres-XC |
From: Michael P. <mic...@us...> - 2011-05-11 07:03:51
|
Project "Postgres-XC". The branch, ha has been deleted was b426d4842f40c91e170378876e0c8107691c4272 ----------------------------------------------------------------------- b426d4842f40c91e170378876e0c8107691c4272 Fix for GXID feed ----------------------------------------------------------------------- hooks/post-receive -- Postgres-XC |