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
(2) |
3
(2) |
4
(2) |
5
|
6
(4) |
7
|
8
|
9
(2) |
10
(1) |
11
(3) |
12
(10) |
13
(2) |
14
|
15
|
16
|
17
(2) |
18
(3) |
19
|
20
|
21
|
22
|
23
(3) |
24
(1) |
25
|
26
|
27
|
28
|
29
|
30
|
31
|
|
|
|
|
From: Michael P. <mic...@us...> - 2012-07-24 07:36:21
|
Project "Postgres-XC". The branch, master has been updated via d03ea805cef9375bee9b751e65d698c07c138bf5 (commit) from baa8c4a51cdd7de321169f12ebfb47b02fed3afc (commit) - Log ----------------------------------------------------------------- http://postgres-xc.git.sourceforge.net/git/gitweb.cgi?p=postgres-xc/postgres-xc;a=commitdiff;h=d03ea805cef9375bee9b751e65d698c07c138bf5 commit d03ea805cef9375bee9b751e65d698c07c138bf5 Author: Michael Paquier <mi...@ot...> Date: Tue Jul 24 16:13:55 2012 +0900 Support for online data redistribution with ALTER TABLE Online data redistribution is the possibility for a user to change the distribution strategy of a table. There are no restrictions in the modifications possible, meaning that all types of tables with all possible node subsets can be completely changed in one command. The SQL command used for redistribution is an extension of ALTER TABLE with those clauses specific to XC and already available in CREATE TABLE: DISTRIBUTE BY { REPLICATION | ROUND ROBIN | { [HASH | MODULO ] ( column_name ) } } TO { GROUP groupname | NODE ( nodename [, ... ] ) } ADD NODE ( nodename [, ... ] ) DELETE NODE ( nodename [, ... ] ) Those commands can be combined together without limitations. Several redistribution scenarios are implemented depending on the old and new distribution type of the table: - Default scenario: 1) Fetch the data of the table with a COPY TO and store it inside a tuplestore 2) Perform a TRUNCATE on the Datanodes 3) Perform a COPY TO with tuples inside tuplestore 4) REINDEX table if necessary This default scenario could also be managed by an external tool, however all the following optimizations need a node-level control to perform with highest efficiency possible. The performance of this scenario is equivalent to running a COPY TO/COPY FROM sequence on a table, so here performance is not bounded by the redistribution mechanism itself but by the COPY protocol used for data exchanged in network. - Replicated to replicated: In case of nodes removed from the set of nodes, those nodes are simply truncated, so this is really quick even on large sets of data. For new nodes, data is fetched on Coordinator from one Datanode with COPY TO, data is stored in a tuplestore, and then COPY FROM is launched only on the new nodes. - Replicated to distributed: If new nodes are added, a fallback to default scenario is made. If nodes are removed, those nodes are truncated. Finally, on the remaining nodes a DELETE query removing only the necessary tuples is launched to each remote node. In this case there is no data exchanged between nodes so performance is maximized. In order to support all those scenarios, a couple of new internal mechanisms have been added to XC: materialization on Coordinator of tuple slots and possibility to reuse them for redistribution purposes, externalization of a portion of PostgreSQL COPY code used by redistribution, reuse and extension of Postgres-XC APIs for remote COPY management. The tuplestore used to store tuples if necessary can have its allowed cache controlled with work_mem. The only thing to take care of is that the tuplestore data needs to be stored on Coordinator once so some additional disk space might be necessary on this server to perform redistribution correctly. Documentation, as well as a new set of regression tests have been added. Regressions do checks on views, prepared statementsm, views, distribution types and subsets in a way completely transparent whatever the cluster configuration. M doc-xc/src/sgml/ref/alter_table.sgmlin M src/backend/access/hash/hashfunc.c M src/backend/catalog/heap.c M src/backend/catalog/pgxc_class.c M src/backend/commands/copy.c M src/backend/commands/tablecmds.c M src/backend/parser/gram.y M src/backend/parser/parse_utilcmd.c M src/backend/pgxc/copy/Makefile A src/backend/pgxc/copy/copyops.c M src/backend/pgxc/copy/remotecopy.c M src/backend/pgxc/locator/Makefile M src/backend/pgxc/locator/locator.c A src/backend/pgxc/locator/redistrib.c M src/backend/pgxc/nodemgr/nodemgr.c M src/backend/pgxc/pool/execRemote.c M src/include/access/hash.h M src/include/catalog/pgxc_class.h M src/include/nodes/parsenodes.h A src/include/pgxc/copyops.h M src/include/pgxc/execRemote.h M src/include/pgxc/locator.h A src/include/pgxc/redistrib.h M src/include/pgxc/remotecopy.h M src/include/utils/rel.h M src/test/regress/expected/xc_alter_table.out M src/test/regress/expected/xc_create_function.out M src/test/regress/sql/xc_alter_table.sql M src/test/regress/sql/xc_create_function.sql ----------------------------------------------------------------------- Summary of changes: doc-xc/src/sgml/ref/alter_table.sgmlin | 224 ++++++- src/backend/access/hash/hashfunc.c | 81 ++- src/backend/catalog/heap.c | 28 +- src/backend/catalog/pgxc_class.c | 106 +++- src/backend/commands/copy.c | 22 +- src/backend/commands/tablecmds.c | 531 +++++++++++++- src/backend/parser/gram.y | 34 + src/backend/parser/parse_utilcmd.c | 4 +- src/backend/pgxc/copy/Makefile | 2 +- src/backend/pgxc/copy/copyops.c | 496 ++++++++++++ src/backend/pgxc/copy/remotecopy.c | 22 +- src/backend/pgxc/locator/Makefile | 4 +- src/backend/pgxc/locator/locator.c | 37 +- src/backend/pgxc/locator/redistrib.c | 871 ++++++++++++++++++++++ src/backend/pgxc/nodemgr/nodemgr.c | 3 +- src/backend/pgxc/pool/execRemote.c | 133 +++- src/include/access/hash.h | 1 + src/include/catalog/pgxc_class.h | 25 +- src/include/nodes/parsenodes.h | 6 + src/include/pgxc/copyops.h | 27 + src/include/pgxc/execRemote.h | 17 +- src/include/pgxc/locator.h | 1 + src/include/pgxc/redistrib.h | 80 ++ src/include/pgxc/remotecopy.h | 1 + src/include/utils/rel.h | 8 + src/test/regress/expected/xc_alter_table.out | 408 ++++++++++ src/test/regress/expected/xc_create_function.out | 84 +++ src/test/regress/sql/xc_alter_table.sql | 133 ++++ src/test/regress/sql/xc_create_function.sql | 85 +++ 29 files changed, 3416 insertions(+), 58 deletions(-) create mode 100644 src/backend/pgxc/copy/copyops.c create mode 100644 src/backend/pgxc/locator/redistrib.c create mode 100644 src/include/pgxc/copyops.h create mode 100644 src/include/pgxc/redistrib.h hooks/post-receive -- Postgres-XC |
From: Michael P. <mic...@us...> - 2012-07-23 05:32:48
|
Project "Postgres-XC". The branch, master has been updated via baa8c4a51cdd7de321169f12ebfb47b02fed3afc (commit) via 60262c8b95f692bfd8409a7818ab5699e81e6765 (commit) from 38b2b79f21859016e2b23d1c1203cd1d64ae833d (commit) - Log ----------------------------------------------------------------- http://postgres-xc.git.sourceforge.net/git/gitweb.cgi?p=postgres-xc/postgres-xc;a=commitdiff;h=baa8c4a51cdd7de321169f12ebfb47b02fed3afc commit baa8c4a51cdd7de321169f12ebfb47b02fed3afc Author: Michael Paquier <mi...@ot...> Date: Mon Jul 23 14:32:51 2012 +0900 Enforce set of current command Id on remote nodes on snapshot obtention This avoids to try to lock invisible tuple because of incorrect command Id on remote nodes. Prior to this commit, this enforcement was done only on Datanodes but it needs to be globally done in terms of remote nodes. M src/backend/utils/time/snapmgr.c http://postgres-xc.git.sourceforge.net/git/gitweb.cgi?p=postgres-xc/postgres-xc;a=commitdiff;h=60262c8b95f692bfd8409a7818ab5699e81e6765 commit baa8c4a51cdd7de321169f12ebfb47b02fed3afc Author: Michael Paquier <mi...@ot...> Date: Mon Jul 23 14:32:51 2012 +0900 Enforce set of current command Id on remote nodes on snapshot obtention This avoids to try to lock invisible tuple because of incorrect command Id on remote nodes. Prior to this commit, this enforcement was done only on Datanodes but it needs to be globally done in terms of remote nodes. M src/backend/utils/time/snapmgr.c ----------------------------------------------------------------------- Summary of changes: src/backend/parser/analyze.c | 16 ++++++++++++---- src/backend/utils/time/snapmgr.c | 2 +- 2 files changed, 13 insertions(+), 5 deletions(-) hooks/post-receive -- Postgres-XC |
From: Michael P. <mic...@us...> - 2012-07-23 04:00:11
|
Project "Postgres-XC". The branch, REL1_0_STABLE has been updated via bf509a6da86123b0ee9829f2f5cacbc1c974f622 (commit) from 37a43c7f73349e97b53ab219cf62d1b0219da49a (commit) - Log ----------------------------------------------------------------- http://postgres-xc.git.sourceforge.net/git/gitweb.cgi?p=postgres-xc/postgres-xc;a=commitdiff;h=bf509a6da86123b0ee9829f2f5cacbc1c974f622 commit 38b2b79f21859016e2b23d1c1203cd1d64ae833d Author: Michael Paquier <mi...@ot...> Date: Mon Jul 23 11:11:31 2012 +0900 Command Id communication protocol between Postgres-XC nodes This commit adds a feature to allow Postgres-XC nodes to communicate a Command Id to remote nodes. Remote nodes can also send back a Command Id to the Coordinator commanding the transaction. This has as consequences to solve numerous issues with data view on cursors as well as solving an old issue XC had with INSERT SELECT when INSERT is done on a child after scanning the parent. This also allows to correctly increment the command ID on Coordinator in the case of triggers and/or constraints being fired on remote nodes. In order to allow nodes to communicate command ID, and a new message type 'M' is added. Note: this patch is also fixing some whitespaces in xact.c. Patch from Abbas Butt, I just added some simplifications, comments, and finalized the packing. M src/backend/access/transam/xact.c M src/backend/commands/portalcmds.c M src/backend/nodes/copyfuncs.c M src/backend/nodes/equalfuncs.c M src/backend/nodes/outfuncs.c M src/backend/optimizer/plan/createplan.c M src/backend/parser/analyze.c M src/backend/pgxc/pool/execRemote.c M src/backend/pgxc/pool/pgxcnode.c M src/backend/tcop/postgres.c M src/backend/tcop/pquery.c M src/backend/utils/time/snapmgr.c M src/include/access/xact.h M src/include/nodes/parsenodes.h M src/include/pgxc/execRemote.h M src/include/pgxc/pgxcnode.h M src/include/pgxc/planner.h M src/test/regress/expected/combocid_1.out M src/test/regress/expected/plpgsql_1.out M src/test/regress/expected/portals_1.out M src/test/regress/expected/select_views_2.out M src/test/regress/expected/xc_misc.out M src/test/regress/sql/plpgsql.sql M src/test/regress/sql/xc_misc.sql ----------------------------------------------------------------------- Summary of changes: src/test/regress/expected/xc_FQS.out | 89 ++++++--------------- src/test/regress/expected/xc_FQS_join.out | 51 +----------- src/test/regress/expected/xc_create_function.out | 43 ++++++++++ src/test/regress/expected/xc_misc.out | 40 +--------- src/test/regress/input/xc_copy.source | 53 ++----------- src/test/regress/output/xc_copy.source | 51 ++---------- src/test/regress/parallel_schedule | 1 + src/test/regress/serial_schedule | 1 + src/test/regress/sql/xc_FQS.sql | 91 ++++++--------------- src/test/regress/sql/xc_FQS_join.sql | 52 +----------- src/test/regress/sql/xc_create_function.sql | 43 ++++++++++ src/test/regress/sql/xc_misc.sql | 42 +---------- 12 files changed, 170 insertions(+), 387 deletions(-) create mode 100644 src/test/regress/expected/xc_create_function.out create mode 100644 src/test/regress/sql/xc_create_function.sql hooks/post-receive -- Postgres-XC |
From: Michael P. <mic...@us...> - 2012-07-23 02:09:38
|
Project "Postgres-XC". The branch, master has been updated via 38b2b79f21859016e2b23d1c1203cd1d64ae833d (commit) from d8fc6215ef228112ec49f1d3e8b919856c5266c1 (commit) - Log ----------------------------------------------------------------- http://postgres-xc.git.sourceforge.net/git/gitweb.cgi?p=postgres-xc/postgres-xc;a=commitdiff;h=38b2b79f21859016e2b23d1c1203cd1d64ae833d commit 38b2b79f21859016e2b23d1c1203cd1d64ae833d Author: Michael Paquier <mi...@ot...> Date: Mon Jul 23 11:11:31 2012 +0900 Command Id communication protocol between Postgres-XC nodes This commit adds a feature to allow Postgres-XC nodes to communicate a Command Id to remote nodes. Remote nodes can also send back a Command Id to the Coordinator commanding the transaction. This has as consequences to solve numerous issues with data view on cursors as well as solving an old issue XC had with INSERT SELECT when INSERT is done on a child after scanning the parent. This also allows to correctly increment the command ID on Coordinator in the case of triggers and/or constraints being fired on remote nodes. In order to allow nodes to communicate command ID, and a new message type 'M' is added. Note: this patch is also fixing some whitespaces in xact.c. Patch from Abbas Butt, I just added some simplifications, comments, and finalized the packing. M src/backend/access/transam/xact.c M src/backend/commands/portalcmds.c M src/backend/nodes/copyfuncs.c M src/backend/nodes/equalfuncs.c M src/backend/nodes/outfuncs.c M src/backend/optimizer/plan/createplan.c M src/backend/parser/analyze.c M src/backend/pgxc/pool/execRemote.c M src/backend/pgxc/pool/pgxcnode.c M src/backend/tcop/postgres.c M src/backend/tcop/pquery.c M src/backend/utils/time/snapmgr.c M src/include/access/xact.h M src/include/nodes/parsenodes.h M src/include/pgxc/execRemote.h M src/include/pgxc/pgxcnode.h M src/include/pgxc/planner.h M src/test/regress/expected/combocid_1.out M src/test/regress/expected/plpgsql_1.out M src/test/regress/expected/portals_1.out M src/test/regress/expected/select_views_2.out M src/test/regress/expected/xc_misc.out M src/test/regress/sql/plpgsql.sql M src/test/regress/sql/xc_misc.sql ----------------------------------------------------------------------- Summary of changes: src/backend/access/transam/xact.c | 238 ++++++- src/backend/commands/portalcmds.c | 11 + src/backend/nodes/copyfuncs.c | 2 + src/backend/nodes/equalfuncs.c | 4 + src/backend/nodes/outfuncs.c | 1 + src/backend/optimizer/plan/createplan.c | 2 + src/backend/parser/analyze.c | 8 +- src/backend/pgxc/pool/execRemote.c | 79 ++- src/backend/pgxc/pool/pgxcnode.c | 35 + src/backend/tcop/postgres.c | 13 +- src/backend/tcop/pquery.c | 34 +- src/backend/utils/time/snapmgr.c | 26 + src/include/access/xact.h | 6 + src/include/nodes/parsenodes.h | 2 + src/include/pgxc/execRemote.h | 2 +- src/include/pgxc/pgxcnode.h | 1 + src/include/pgxc/planner.h | 2 + src/test/regress/expected/combocid_1.out | 6 +- src/test/regress/expected/plpgsql_1.out | 26 +- src/test/regress/expected/portals_1.out | 3 +- src/test/regress/expected/select_views_2.out | 924 +++++++++++++++++++++++++- src/test/regress/expected/xc_misc.out | 187 +++++- src/test/regress/sql/plpgsql.sql | 8 +- src/test/regress/sql/xc_misc.sql | 110 +++- 24 files changed, 1642 insertions(+), 88 deletions(-) hooks/post-receive -- Postgres-XC |
From: Koichi S. <koi...@us...> - 2012-07-18 06:18:56
|
Project "Postgres-XC". The branch, master has been updated via d8fc6215ef228112ec49f1d3e8b919856c5266c1 (commit) from f6bbc44a1afefd56fb7c7d54d7a921cc648d45c3 (commit) - Log ----------------------------------------------------------------- http://postgres-xc.git.sourceforge.net/git/gitweb.cgi?p=postgres-xc/postgres-xc;a=commitdiff;h=d8fc6215ef228112ec49f1d3e8b919856c5266c1 commit d8fc6215ef228112ec49f1d3e8b919856c5266c1 Author: Koichi Suzuki <koi...@gm...> Date: Wed Jul 18 15:20:20 2012 +0900 This commit adds missing file "pgxc_monitor.sgmlin" to the last one. A doc-xc/src/sgml/pgxcmonitor.sgmlin ----------------------------------------------------------------------- Summary of changes: doc-xc/src/sgml/pgxcmonitor.sgmlin | 141 ++++++++++++++++++++++++++++++++++++ 1 files changed, 141 insertions(+), 0 deletions(-) create mode 100644 doc-xc/src/sgml/pgxcmonitor.sgmlin hooks/post-receive -- Postgres-XC |
From: Ashutosh B. <ash...@en...> - 2012-07-18 06:04:27
|
Hi Suzuki-san, Thanks for this commit. Hope people configuring HA find it useful. It will also be helpful, to add documentation as to how to configure and use this utility. How to specify which nodes it should monitor and if there are any options in monitoring. If it allows various modes of notifying failure, how to use those, etc. On Wed, Jul 18, 2012 at 11:27 AM, Koichi Suzuki < koi...@us...> wrote: > Project "Postgres-XC". > > The branch, master has been updated > via f6bbc44a1afefd56fb7c7d54d7a921cc648d45c3 (commit) > from 4371aadf993ff4fce458362b0de8d848bbe96e4a (commit) > > > - Log ----------------------------------------------------------------- > > http://postgres-xc.git.sourceforge.net/git/gitweb.cgi?p=postgres-xc/postgres-xc;a=commitdiff;h=f6bbc44a1afefd56fb7c7d54d7a921cc648d45c3 > > commit f6bbc44a1afefd56fb7c7d54d7a921cc648d45c3 > Author: Koichi Suzuki <koi...@gm...> > Date: Wed Jul 18 14:59:24 2012 +0900 > > This commit adds pgxc_monitor utility used to check each Postgres-XC > node is up and running. > > A contrib/pgxc_monitor/Makefile > A contrib/pgxc_monitor/mcxt.c > A contrib/pgxc_monitor/pgxc_monitor.c > M doc-xc/src/sgml/contrib.sgmlin > M doc-xc/src/sgml/filelist.sgmlin > > ----------------------------------------------------------------------- > > Summary of changes: > contrib/{pgxc_clean => pgxc_monitor}/Makefile | 11 +- > contrib/pgxc_monitor/mcxt.c | 77 +++++++++ > contrib/pgxc_monitor/pgxc_monitor.c | 211 > +++++++++++++++++++++++++ > doc-xc/src/sgml/contrib.sgmlin | 1 + > doc-xc/src/sgml/filelist.sgmlin | 3 + > 5 files changed, 298 insertions(+), 5 deletions(-) > copy contrib/{pgxc_clean => pgxc_monitor}/Makefile (78%) > create mode 100644 contrib/pgxc_monitor/mcxt.c > create mode 100644 contrib/pgxc_monitor/pgxc_monitor.c > > > hooks/post-receive > -- > Postgres-XC > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Postgres-xc-committers mailing list > Pos...@li... > https://lists.sourceforge.net/lists/listinfo/postgres-xc-committers > -- Best Wishes, Ashutosh Bapat EntepriseDB Corporation The Enterprise Postgres Company |
From: Koichi S. <koi...@us...> - 2012-07-18 05:57:27
|
Project "Postgres-XC". The branch, master has been updated via f6bbc44a1afefd56fb7c7d54d7a921cc648d45c3 (commit) from 4371aadf993ff4fce458362b0de8d848bbe96e4a (commit) - Log ----------------------------------------------------------------- http://postgres-xc.git.sourceforge.net/git/gitweb.cgi?p=postgres-xc/postgres-xc;a=commitdiff;h=f6bbc44a1afefd56fb7c7d54d7a921cc648d45c3 commit f6bbc44a1afefd56fb7c7d54d7a921cc648d45c3 Author: Koichi Suzuki <koi...@gm...> Date: Wed Jul 18 14:59:24 2012 +0900 This commit adds pgxc_monitor utility used to check each Postgres-XC node is up and running. A contrib/pgxc_monitor/Makefile A contrib/pgxc_monitor/mcxt.c A contrib/pgxc_monitor/pgxc_monitor.c M doc-xc/src/sgml/contrib.sgmlin M doc-xc/src/sgml/filelist.sgmlin ----------------------------------------------------------------------- Summary of changes: contrib/{pgxc_clean => pgxc_monitor}/Makefile | 11 +- contrib/pgxc_monitor/mcxt.c | 77 +++++++++ contrib/pgxc_monitor/pgxc_monitor.c | 211 +++++++++++++++++++++++++ doc-xc/src/sgml/contrib.sgmlin | 1 + doc-xc/src/sgml/filelist.sgmlin | 3 + 5 files changed, 298 insertions(+), 5 deletions(-) copy contrib/{pgxc_clean => pgxc_monitor}/Makefile (78%) create mode 100644 contrib/pgxc_monitor/mcxt.c create mode 100644 contrib/pgxc_monitor/pgxc_monitor.c hooks/post-receive -- Postgres-XC |
From: Michael P. <mic...@us...> - 2012-07-17 23:56:00
|
Project "Postgres-XC". The branch, REL1_0_STABLE has been updated via 37a43c7f73349e97b53ab219cf62d1b0219da49a (commit) from d549c2f0694f6c6f7550638ca3bb3e8a48601c84 (commit) - Log ----------------------------------------------------------------- http://postgres-xc.git.sourceforge.net/git/gitweb.cgi?p=postgres-xc/postgres-xc;a=commitdiff;h=37a43c7f73349e97b53ab219cf62d1b0219da49a commit 4371aadf993ff4fce458362b0de8d848bbe96e4a Author: Ashutosh Bapat <ash...@en...> Date: Tue Jul 17 14:10:35 2012 +0530 validate_part_col_updatable() was falsely assuming that the table with no location info is as good as non-existent table. This assumption is not true for catalogs or coordinator only tables. In such cases, this function should not look for any distribution column, since one can not exist for a table local to the coordinator. M src/backend/pgxc/plan/planner.c ----------------------------------------------------------------------- Summary of changes: src/backend/pgxc/plan/planner.c | 5 ++--- 1 files changed, 2 insertions(+), 3 deletions(-) hooks/post-receive -- Postgres-XC |
From: Ashutosh B. <ash...@us...> - 2012-07-17 08:46:15
|
Project "Postgres-XC". The branch, master has been updated via 4371aadf993ff4fce458362b0de8d848bbe96e4a (commit) from 5655bc5b45a90c6500a375c789d34b07039b6d2b (commit) - Log ----------------------------------------------------------------- http://postgres-xc.git.sourceforge.net/git/gitweb.cgi?p=postgres-xc/postgres-xc;a=commitdiff;h=4371aadf993ff4fce458362b0de8d848bbe96e4a commit 4371aadf993ff4fce458362b0de8d848bbe96e4a Author: Ashutosh Bapat <ash...@en...> Date: Tue Jul 17 14:10:35 2012 +0530 validate_part_col_updatable() was falsely assuming that the table with no location info is as good as non-existent table. This assumption is not true for catalogs or coordinator only tables. In such cases, this function should not look for any distribution column, since one can not exist for a table local to the coordinator. M src/backend/pgxc/plan/planner.c ----------------------------------------------------------------------- Summary of changes: src/backend/pgxc/plan/planner.c | 5 ++--- 1 files changed, 2 insertions(+), 3 deletions(-) hooks/post-receive -- Postgres-XC |
From: Michael P. <mic...@us...> - 2012-07-13 04:47:05
|
Project "Postgres-XC". The branch, master has been updated via 5655bc5b45a90c6500a375c789d34b07039b6d2b (commit) from 4ecfc866de54c0327fbef19ff803257748bf8480 (commit) - Log ----------------------------------------------------------------- http://postgres-xc.git.sourceforge.net/git/gitweb.cgi?p=postgres-xc/postgres-xc;a=commitdiff;h=5655bc5b45a90c6500a375c789d34b07039b6d2b commit 5655bc5b45a90c6500a375c789d34b07039b6d2b Author: Michael Paquier <mi...@ot...> Date: Fri Jul 13 13:38:02 2012 +0900 Clean up remaining GIT conflicts due to merge a871778 in Makefile.shlib Noticed by Andrew Wong M src/Makefile.shlib ----------------------------------------------------------------------- Summary of changes: src/Makefile.shlib | 6 +----- 1 files changed, 1 insertions(+), 5 deletions(-) hooks/post-receive -- Postgres-XC |
From: Michael P. <mic...@us...> - 2012-07-13 01:52:30
|
Project "Postgres-XC". The branch, master has been updated via 4ecfc866de54c0327fbef19ff803257748bf8480 (commit) from 5d8d73970dcd36236df3405801349ec01623753f (commit) - Log ----------------------------------------------------------------- http://postgres-xc.git.sourceforge.net/git/gitweb.cgi?p=postgres-xc/postgres-xc;a=commitdiff;h=4ecfc866de54c0327fbef19ff803257748bf8480 commit 4ecfc866de54c0327fbef19ff803257748bf8480 Author: Michael Paquier <mi...@ot...> Date: Fri Jul 13 10:52:46 2012 +0900 Change control file of GTM into a text file This includes latest GXID and sequence information. This configuration allows an external operator to modify sequence information with a simple text editor before restarting a GTM. Some functionalities have been added to include sequence name encoding and decoding when interacting with control file. Patch by Andrei Martsinchyk M src/gtm/main/gtm_seq.c M src/gtm/main/gtm_standby.c M src/gtm/main/gtm_txn.c M src/gtm/main/main.c M src/include/gtm/gtm_seq.h M src/include/gtm/gtm_txn.h ----------------------------------------------------------------------- Summary of changes: src/gtm/main/gtm_seq.c | 216 +++++++++++++++++++++++++++++++++++--------- src/gtm/main/gtm_standby.c | 2 +- src/gtm/main/gtm_txn.c | 10 +- src/gtm/main/main.c | 24 +++--- src/include/gtm/gtm_seq.h | 4 +- src/include/gtm/gtm_txn.h | 4 +- 6 files changed, 195 insertions(+), 65 deletions(-) hooks/post-receive -- Postgres-XC |
From: Michael P. <mic...@us...> - 2012-07-12 23:55:33
|
Project "Postgres-XC". The branch, master has been updated via 5d8d73970dcd36236df3405801349ec01623753f (commit) from 493f432d2eab89ad17287ab6ceb2793e419cf693 (commit) - Log ----------------------------------------------------------------- http://postgres-xc.git.sourceforge.net/git/gitweb.cgi?p=postgres-xc/postgres-xc;a=commitdiff;h=5d8d73970dcd36236df3405801349ec01623753f commit 5d8d73970dcd36236df3405801349ec01623753f Author: Michael Paquier <mi...@ot...> Date: Fri Jul 13 08:55:08 2012 +0900 Clean up whitespaces in XC header files and remove gtm_report_failure gtm_report_failure was a function used to allow report of an error between XCM and GTM-Standby. XCM is not supported anymore, in consequence this function becomes useless. It was deactivated by the way. M src/gtm/common/gtm_utils.c M src/gtm/main/gtm_standby.c M src/include/gtm/gtm_c.h M src/include/gtm/gtm_client.h M src/include/gtm/gtm_msg.h M src/include/gtm/gtm_proxy.h M src/include/gtm/gtm_txn.h M src/include/gtm/gtm_utils.h M src/include/gtm/proxy_utils.h M src/include/pgxc/pgxcnode.h M src/include/pgxc/poolmgr.h ----------------------------------------------------------------------- Summary of changes: src/gtm/common/gtm_utils.c | 21 --------------------- src/gtm/main/gtm_standby.c | 28 ---------------------------- src/include/gtm/gtm_c.h | 2 +- src/include/gtm/gtm_client.h | 12 ++++++------ src/include/gtm/gtm_msg.h | 2 +- src/include/gtm/gtm_proxy.h | 16 ++++++++-------- src/include/gtm/gtm_txn.h | 2 +- src/include/gtm/gtm_utils.h | 9 --------- src/include/gtm/proxy_utils.h | 1 - src/include/pgxc/pgxcnode.h | 4 ++-- src/include/pgxc/poolmgr.h | 2 +- 11 files changed, 20 insertions(+), 79 deletions(-) hooks/post-receive -- Postgres-XC |
From: Michael P. <mic...@us...> - 2012-07-12 23:55:27
|
Project "Postgres-XC". The branch, REL1_0_STABLE has been updated via d549c2f0694f6c6f7550638ca3bb3e8a48601c84 (commit) from 0f7245c9d9df70a380e6e1688385130caff83db7 (commit) - Log ----------------------------------------------------------------- http://postgres-xc.git.sourceforge.net/git/gitweb.cgi?p=postgres-xc/postgres-xc;a=commitdiff;h=d549c2f0694f6c6f7550638ca3bb3e8a48601c84 commit 5d8d73970dcd36236df3405801349ec01623753f Author: Michael Paquier <mi...@ot...> Date: Fri Jul 13 08:55:08 2012 +0900 Clean up whitespaces in XC header files and remove gtm_report_failure gtm_report_failure was a function used to allow report of an error between XCM and GTM-Standby. XCM is not supported anymore, in consequence this function becomes useless. It was deactivated by the way. M src/gtm/common/gtm_utils.c M src/gtm/main/gtm_standby.c M src/include/gtm/gtm_c.h M src/include/gtm/gtm_client.h M src/include/gtm/gtm_msg.h M src/include/gtm/gtm_proxy.h M src/include/gtm/gtm_txn.h M src/include/gtm/gtm_utils.h M src/include/gtm/proxy_utils.h M src/include/pgxc/pgxcnode.h M src/include/pgxc/poolmgr.h ----------------------------------------------------------------------- Summary of changes: src/gtm/common/gtm_utils.c | 21 --------------------- src/gtm/main/gtm_standby.c | 28 ---------------------------- src/include/gtm/gtm_c.h | 2 +- src/include/gtm/gtm_client.h | 12 ++++++------ src/include/gtm/gtm_msg.h | 2 +- src/include/gtm/gtm_proxy.h | 16 ++++++++-------- src/include/gtm/gtm_txn.h | 2 +- src/include/gtm/gtm_utils.h | 9 --------- src/include/gtm/proxy_utils.h | 1 - src/include/pgxc/pgxcnode.h | 4 ++-- src/include/pgxc/poolmgr.h | 2 +- 11 files changed, 20 insertions(+), 79 deletions(-) hooks/post-receive -- Postgres-XC |
From: Michael P. <mic...@us...> - 2012-07-12 07:22:07
|
Project "Postgres-XC". The branch, master has been updated via 493f432d2eab89ad17287ab6ceb2793e419cf693 (commit) from e93517a5a0a104643f3a3e1d1329afc5dd658489 (commit) - Log ----------------------------------------------------------------- http://postgres-xc.git.sourceforge.net/git/gitweb.cgi?p=postgres-xc/postgres-xc;a=commitdiff;h=493f432d2eab89ad17287ab6ceb2793e419cf693 commit 493f432d2eab89ad17287ab6ceb2793e419cf693 Author: Michael Paquier <mi...@ot...> Date: Thu Jul 12 16:17:01 2012 +0900 Refactor COPY command code exclusive to Postgres-XC Some functionalities related to relation locator determination depending on the COPY operation done and remote query generation are removed from copy.c to remotecopy.c and added in an XC-only specific file for two reasons: 1) Externalize the process of COPY to allow other modules to use it. 2) Reduce the footprint of XC code in postgres core code. The information of CopyStateData is necessary to generate a complete remote query but this data is private to copy.c, so an intermediate structure is used here to complete the externalization of those functionalities. If in a (distant?) future, CopyStateData is removed outside copy.c, we should use the same data for remotecopy.c, however this is still not the case in Postgres 9.2. M src/backend/commands/copy.c M src/backend/pgxc/Makefile A src/backend/pgxc/copy/Makefile A src/backend/pgxc/copy/remotecopy.c M src/backend/pgxc/locator/locator.c M src/include/pgxc/locator.h A src/include/pgxc/remotecopy.h ----------------------------------------------------------------------- Summary of changes: src/backend/commands/copy.c | 400 ++++++------------------------ src/backend/pgxc/Makefile | 2 +- src/backend/pgxc/{plan => copy}/Makefile | 8 +- src/backend/pgxc/copy/remotecopy.c | 384 ++++++++++++++++++++++++++++ src/backend/pgxc/locator/locator.c | 6 +- src/include/pgxc/locator.h | 6 +- src/include/pgxc/remotecopy.h | 75 ++++++ 7 files changed, 545 insertions(+), 336 deletions(-) copy src/backend/pgxc/{plan => copy}/Makefile (68%) create mode 100644 src/backend/pgxc/copy/remotecopy.c create mode 100644 src/include/pgxc/remotecopy.h hooks/post-receive -- Postgres-XC |
From: Michael P. <mic...@us...> - 2012-07-12 04:45:42
|
Project "Postgres-XC". The branch, master has been updated via e93517a5a0a104643f3a3e1d1329afc5dd658489 (commit) from 135d0bb4d2e7c95e7379091afd9e8063419e1e41 (commit) - Log ----------------------------------------------------------------- http://postgres-xc.git.sourceforge.net/git/gitweb.cgi?p=postgres-xc/postgres-xc;a=commitdiff;h=e93517a5a0a104643f3a3e1d1329afc5dd658489 commit e93517a5a0a104643f3a3e1d1329afc5dd658489 Author: Michael Paquier <mi...@ot...> Date: Thu Jul 12 13:43:07 2012 +0900 Simplify reconnection protocol of GTM-Proxy to GTM With this commit, reconnection of a GTM-Proxy to a GTM instance is controlled only with the interval time between 2 reconnections. While being in reconnection waiting process, it is possible to specify new GTM connection information with gtm_ctl reconnect. In consequence, 5 setting parameters of GTM-Proxy are removed here: - err_wait_count - err_wait_interval - err_wait_idle - gtm_connect_retry_count - gtm_connect_retry_idle Related information and documentation also is removed. M src/gtm/proxy/gtm_proxy.conf.sample M src/gtm/proxy/gtm_proxy_opt.c M src/gtm/proxy/proxy_main.c M src/include/gtm/gtm_opt.h M src/include/gtm/libpq-int.h ----------------------------------------------------------------------- Summary of changes: src/gtm/proxy/gtm_proxy.conf.sample | 11 --- src/gtm/proxy/gtm_proxy_opt.c | 73 +--------------- src/gtm/proxy/proxy_main.c | 167 +++++++--------------------------- src/include/gtm/gtm_opt.h | 5 - src/include/gtm/libpq-int.h | 5 - 5 files changed, 36 insertions(+), 225 deletions(-) hooks/post-receive -- Postgres-XC |
From: Pavan D. <pav...@gm...> - 2012-07-12 04:33:55
|
On Thu, Jul 12, 2012 at 5:50 AM, Michael Paquier < mic...@us...> wrote: > Project "Postgres-XC". > > The branch, REL1_0_STABLE has been updated > via 9b427c82371d036a9ffad22e535a104909e7b210 (commit) > from 18fdb2f0e27e651a55c634e921cb46130a1670b0 (commit) > > > - Log ----------------------------------------------------------------- > > http://postgres-xc.git.sourceforge.net/git/gitweb.cgi?p=postgres-xc/postgres-xc;a=commitdiff;h=9b427c82371d036a9ffad22e535a104909e7b210 > > commit c29739c5e6e717e1352b413d3cf6a7fa7566be53 > Author: Michael Paquier <mi...@ot...> > Date: Thu Jul 12 09:21:54 2012 +0900 > > Remove all the trailing whitespaces in XC backend files > > This includes locator, XC planner, pool, barrier and node manager. > This clean-up should have been done long ago... > > Is it really a material for back branches ? I think that should be limited to just bug fixes. Thanks, Pavan |
From: Michael P. <mic...@us...> - 2012-07-12 04:31:38
|
Project "Postgres-XC". The branch, master has been updated via 135d0bb4d2e7c95e7379091afd9e8063419e1e41 (commit) via b55e0dbef80d0d59a0033286ad0d3d02e50b9996 (commit) from c29739c5e6e717e1352b413d3cf6a7fa7566be53 (commit) - Log ----------------------------------------------------------------- http://postgres-xc.git.sourceforge.net/git/gitweb.cgi?p=postgres-xc/postgres-xc;a=commitdiff;h=135d0bb4d2e7c95e7379091afd9e8063419e1e41 commit 135d0bb4d2e7c95e7379091afd9e8063419e1e41 Author: Michael Paquier <mi...@ot...> Date: Thu Jul 12 13:33:43 2012 +0900 Correct grammar of EXECUTE DIRECT in pgxc_clean This is a consequence of commit 011b1d7. M contrib/pgxc_clean/pgxc_clean.c http://postgres-xc.git.sourceforge.net/git/gitweb.cgi?p=postgres-xc/postgres-xc;a=commitdiff;h=b55e0dbef80d0d59a0033286ad0d3d02e50b9996 commit 135d0bb4d2e7c95e7379091afd9e8063419e1e41 Author: Michael Paquier <mi...@ot...> Date: Thu Jul 12 13:33:43 2012 +0900 Correct grammar of EXECUTE DIRECT in pgxc_clean This is a consequence of commit 011b1d7. M contrib/pgxc_clean/pgxc_clean.c ----------------------------------------------------------------------- Summary of changes: contrib/pgxc_clean/pgxc_clean.c | 44 ++++++++++++++++---------------- contrib/pgxc_clean/pgxc_clean_test.sh | 2 +- contrib/pgxc_clean/txninfo.c | 2 +- 3 files changed, 24 insertions(+), 24 deletions(-) hooks/post-receive -- Postgres-XC |
From: Michael P. <mic...@us...> - 2012-07-12 04:31:33
|
Project "Postgres-XC". The branch, REL1_0_STABLE has been updated via 0f7245c9d9df70a380e6e1688385130caff83db7 (commit) from 9b427c82371d036a9ffad22e535a104909e7b210 (commit) - Log ----------------------------------------------------------------- http://postgres-xc.git.sourceforge.net/git/gitweb.cgi?p=postgres-xc/postgres-xc;a=commitdiff;h=0f7245c9d9df70a380e6e1688385130caff83db7 commit 135d0bb4d2e7c95e7379091afd9e8063419e1e41 Author: Michael Paquier <mi...@ot...> Date: Thu Jul 12 13:33:43 2012 +0900 Correct grammar of EXECUTE DIRECT in pgxc_clean This is a consequence of commit 011b1d7. M contrib/pgxc_clean/pgxc_clean.c ----------------------------------------------------------------------- Summary of changes: contrib/pgxc_clean/pgxc_clean.c | 38 ++++++++++++++++---------------- contrib/pgxc_clean/pgxc_clean_test.sh | 2 +- contrib/pgxc_clean/txninfo.c | 2 +- 3 files changed, 21 insertions(+), 21 deletions(-) hooks/post-receive -- Postgres-XC |
From: Michael P. <mic...@us...> - 2012-07-12 00:20:37
|
Project "Postgres-XC". The branch, REL1_0_STABLE has been updated via 9b427c82371d036a9ffad22e535a104909e7b210 (commit) from 18fdb2f0e27e651a55c634e921cb46130a1670b0 (commit) - Log ----------------------------------------------------------------- http://postgres-xc.git.sourceforge.net/git/gitweb.cgi?p=postgres-xc/postgres-xc;a=commitdiff;h=9b427c82371d036a9ffad22e535a104909e7b210 commit c29739c5e6e717e1352b413d3cf6a7fa7566be53 Author: Michael Paquier <mi...@ot...> Date: Thu Jul 12 09:21:54 2012 +0900 Remove all the trailing whitespaces in XC backend files This includes locator, XC planner, pool, barrier and node manager. This clean-up should have been done long ago... M src/backend/pgxc/barrier/barrier.c M src/backend/pgxc/locator/locator.c M src/backend/pgxc/nodemgr/groupmgr.c M src/backend/pgxc/plan/planner.c M src/backend/pgxc/pool/execRemote.c M src/backend/pgxc/pool/pgxcnode.c M src/backend/pgxc/pool/poolcomm.c M src/backend/pgxc/pool/poolutils.c M src/backend/pgxc/pool/postgresql_fdw.c ----------------------------------------------------------------------- Summary of changes: src/backend/pgxc/barrier/barrier.c | 14 ++++---- src/backend/pgxc/locator/locator.c | 52 +++++++++++++------------- src/backend/pgxc/nodemgr/groupmgr.c | 6 ++-- src/backend/pgxc/plan/planner.c | 16 +++++---- src/backend/pgxc/pool/execRemote.c | 62 ++++++++++++++++---------------- src/backend/pgxc/pool/pgxcnode.c | 4 +- src/backend/pgxc/pool/poolcomm.c | 2 +- src/backend/pgxc/pool/poolutils.c | 2 +- src/backend/pgxc/pool/postgresql_fdw.c | 5 +-- 9 files changed, 82 insertions(+), 81 deletions(-) hooks/post-receive -- Postgres-XC |
From: Michael P. <mic...@us...> - 2012-07-12 00:08:23
|
Project "Postgres-XC". The branch, master has been updated via bb7c8a6bb9d7f5cf5f4bc51dc2c13533b84b6547 (commit) from ed3516bfc3d6dd540877f2bc4bd71a4990b65763 (commit) - Log ----------------------------------------------------------------- http://postgres-xc.git.sourceforge.net/git/gitweb.cgi?p=postgres-xc/postgres-xc;a=commitdiff;h=bb7c8a6bb9d7f5cf5f4bc51dc2c13533b84b6547 commit bb7c8a6bb9d7f5cf5f4bc51dc2c13533b84b6547 Author: Michael Paquier <mi...@ot...> Date: Thu Jul 12 09:08:29 2012 +0900 Remove all the trailing whitespaces in GTM code M src/gtm/client/fe-connect.c M src/gtm/client/fe-protocol.c M src/gtm/common/gtm_lock.c M src/gtm/common/gtm_opt_handler.c M src/gtm/common/gtm_serialize.c M src/gtm/common/gtm_serialize_debug.c M src/gtm/common/gtm_utils.c M src/gtm/common/mcxt.c M src/gtm/gtm_ctl/gtm_ctl.c M src/gtm/libpq/pqcomm.c M src/gtm/main/gtm_seq.c M src/gtm/main/gtm_snap.c M src/gtm/main/gtm_standby.c M src/gtm/main/gtm_stats.c M src/gtm/main/gtm_thread.c M src/gtm/main/gtm_txn.c M src/gtm/main/main.c M src/gtm/path/path.c M src/gtm/proxy/gtm_proxy_opt.c M src/gtm/proxy/proxy_main.c M src/gtm/proxy/proxy_thread.c M src/gtm/proxy/proxy_utils.c M src/gtm/recovery/register_common.c M src/gtm/recovery/register_gtm.c ----------------------------------------------------------------------- Summary of changes: src/gtm/client/fe-connect.c | 2 +- src/gtm/client/fe-protocol.c | 12 ++++---- src/gtm/common/gtm_lock.c | 3 +- src/gtm/common/gtm_opt_handler.c | 4 +- src/gtm/common/gtm_serialize.c | 8 +++--- src/gtm/common/gtm_serialize_debug.c | 4 +- src/gtm/common/gtm_utils.c | 1 - src/gtm/common/mcxt.c | 3 +- src/gtm/gtm_ctl/gtm_ctl.c | 10 ++++---- src/gtm/libpq/pqcomm.c | 2 +- src/gtm/main/gtm_seq.c | 34 +++++++++++++------------- src/gtm/main/gtm_snap.c | 6 ++-- src/gtm/main/gtm_standby.c | 18 +++++++------- src/gtm/main/gtm_stats.c | 2 - src/gtm/main/gtm_thread.c | 1 - src/gtm/main/gtm_txn.c | 45 ++++++++++++++++----------------- src/gtm/main/main.c | 40 +++++++++++++++--------------- src/gtm/path/path.c | 1 - src/gtm/proxy/gtm_proxy_opt.c | 2 +- src/gtm/proxy/proxy_main.c | 44 ++++++++++++++++---------------- src/gtm/proxy/proxy_thread.c | 22 ++++++++-------- src/gtm/proxy/proxy_utils.c | 2 +- src/gtm/recovery/register_common.c | 3 +- src/gtm/recovery/register_gtm.c | 1 - 24 files changed, 130 insertions(+), 140 deletions(-) hooks/post-receive -- Postgres-XC |
From: Michael P. <mic...@us...> - 2012-07-12 00:08:18
|
Project "Postgres-XC". The branch, REL1_0_STABLE has been updated via 18fdb2f0e27e651a55c634e921cb46130a1670b0 (commit) from 5274c697945b4220af9da8b5dece3a37ae7cb32a (commit) - Log ----------------------------------------------------------------- http://postgres-xc.git.sourceforge.net/git/gitweb.cgi?p=postgres-xc/postgres-xc;a=commitdiff;h=18fdb2f0e27e651a55c634e921cb46130a1670b0 commit bb7c8a6bb9d7f5cf5f4bc51dc2c13533b84b6547 Author: Michael Paquier <mi...@ot...> Date: Thu Jul 12 09:08:29 2012 +0900 Remove all the trailing whitespaces in GTM code M src/gtm/client/fe-connect.c M src/gtm/client/fe-protocol.c M src/gtm/common/gtm_lock.c M src/gtm/common/gtm_opt_handler.c M src/gtm/common/gtm_serialize.c M src/gtm/common/gtm_serialize_debug.c M src/gtm/common/gtm_utils.c M src/gtm/common/mcxt.c M src/gtm/gtm_ctl/gtm_ctl.c M src/gtm/libpq/pqcomm.c M src/gtm/main/gtm_seq.c M src/gtm/main/gtm_snap.c M src/gtm/main/gtm_standby.c M src/gtm/main/gtm_stats.c M src/gtm/main/gtm_thread.c M src/gtm/main/gtm_txn.c M src/gtm/main/main.c M src/gtm/path/path.c M src/gtm/proxy/gtm_proxy_opt.c M src/gtm/proxy/proxy_main.c M src/gtm/proxy/proxy_thread.c M src/gtm/proxy/proxy_utils.c M src/gtm/recovery/register_common.c M src/gtm/recovery/register_gtm.c ----------------------------------------------------------------------- Summary of changes: src/gtm/client/fe-connect.c | 2 +- src/gtm/client/fe-protocol.c | 12 ++++---- src/gtm/common/gtm_lock.c | 3 +- src/gtm/common/gtm_opt_handler.c | 4 +- src/gtm/common/gtm_serialize.c | 8 +++--- src/gtm/common/gtm_serialize_debug.c | 4 +- src/gtm/common/gtm_utils.c | 1 - src/gtm/common/mcxt.c | 3 +- src/gtm/gtm_ctl/gtm_ctl.c | 10 ++++---- src/gtm/libpq/pqcomm.c | 2 +- src/gtm/main/gtm_seq.c | 34 +++++++++++++------------- src/gtm/main/gtm_snap.c | 6 ++-- src/gtm/main/gtm_standby.c | 18 +++++++------- src/gtm/main/gtm_stats.c | 2 - src/gtm/main/gtm_thread.c | 1 - src/gtm/main/gtm_txn.c | 45 ++++++++++++++++----------------- src/gtm/main/main.c | 40 +++++++++++++++--------------- src/gtm/path/path.c | 1 - src/gtm/proxy/gtm_proxy_opt.c | 2 +- src/gtm/proxy/proxy_main.c | 44 ++++++++++++++++---------------- src/gtm/proxy/proxy_thread.c | 22 ++++++++-------- src/gtm/proxy/proxy_utils.c | 2 +- src/gtm/recovery/register_common.c | 3 +- src/gtm/recovery/register_gtm.c | 1 - 24 files changed, 130 insertions(+), 140 deletions(-) hooks/post-receive -- Postgres-XC |
From: Michael P. <mic...@us...> - 2012-07-11 06:31:34
|
Project "Postgres-XC". The branch, master has been updated via ed3516bfc3d6dd540877f2bc4bd71a4990b65763 (commit) from 700db54f04412e0fc91557d46da2b5a236b264a8 (commit) - Log ----------------------------------------------------------------- http://postgres-xc.git.sourceforge.net/git/gitweb.cgi?p=postgres-xc/postgres-xc;a=commitdiff;h=ed3516bfc3d6dd540877f2bc4bd71a4990b65763 commit ed3516bfc3d6dd540877f2bc4bd71a4990b65763 Author: Michael Paquier <mi...@ot...> Date: Wed Jul 11 15:29:35 2012 +0900 Refactor functions for management and interpretation of distribution clauses This commit externalizes all the features used for the interpretation of SQL clauses TO NODE, TO GROUP and DISTRIBUTE BY. This reduces the footprint of XC code in heap.c. It is important to note here that this code cannot be completely removed from heap.c as there is a necessary dependency regarding system columns that cannot be used as distribution columns for HASH and MODULO tables. M src/backend/catalog/heap.c M src/backend/pgxc/locator/locator.c M src/include/catalog/heap.h M src/include/pgxc/locator.h ----------------------------------------------------------------------- Summary of changes: src/backend/catalog/heap.c | 269 +++++++++++++++++++++-------------- src/backend/pgxc/locator/locator.c | 4 +- src/include/catalog/heap.h | 14 ++- src/include/pgxc/locator.h | 4 +- 4 files changed, 178 insertions(+), 113 deletions(-) hooks/post-receive -- Postgres-XC |
From: Michael P. <mic...@us...> - 2012-07-11 01:10:21
|
Project "Postgres-XC". The branch, REL1_0_STABLE has been updated via 5274c697945b4220af9da8b5dece3a37ae7cb32a (commit) via 7e9d9f8dde1672175204a384988430a82f40a921 (commit) via dc7388d5691d9fbbccd97a506d0e5e4a14073f07 (commit) via 7a099089c8d8d61150e7f49ccb9e0e08db1218ad (commit) via b089430ddc0ed44587bde9f7fa500adb3dd9c26c (commit) via 840b5372afa69618521101aaaf6d50b4395f9249 (commit) from 6ddea3c558a05f92ad66728d8aa5ba4b284dc9ed (commit) - Log ----------------------------------------------------------------- http://postgres-xc.git.sourceforge.net/git/gitweb.cgi?p=postgres-xc/postgres-xc;a=commitdiff;h=5274c697945b4220af9da8b5dece3a37ae7cb32a commit 700db54f04412e0fc91557d46da2b5a236b264a8 Author: Michael Paquier <mi...@ot...> Date: Wed Jul 11 10:04:12 2012 +0900 Block GXID generation on standbys If a node accidentally connects to the Standby and reconnects to the Master afterwards, it will get an inconsistent GXID value since GTM Master is not aware of GXIDs generated by GTM Standby. Patch by Andrei Martsinchyk M src/gtm/main/gtm_txn.c http://postgres-xc.git.sourceforge.net/git/gitweb.cgi?p=postgres-xc/postgres-xc;a=commitdiff;h=7e9d9f8dde1672175204a384988430a82f40a921 commit 700db54f04412e0fc91557d46da2b5a236b264a8 Author: Michael Paquier <mi...@ot...> Date: Wed Jul 11 10:04:12 2012 +0900 Block GXID generation on standbys If a node accidentally connects to the Standby and reconnects to the Master afterwards, it will get an inconsistent GXID value since GTM Master is not aware of GXIDs generated by GTM Standby. Patch by Andrei Martsinchyk M src/gtm/main/gtm_txn.c http://postgres-xc.git.sourceforge.net/git/gitweb.cgi?p=postgres-xc/postgres-xc;a=commitdiff;h=dc7388d5691d9fbbccd97a506d0e5e4a14073f07 commit 700db54f04412e0fc91557d46da2b5a236b264a8 Author: Michael Paquier <mi...@ot...> Date: Wed Jul 11 10:04:12 2012 +0900 Block GXID generation on standbys If a node accidentally connects to the Standby and reconnects to the Master afterwards, it will get an inconsistent GXID value since GTM Master is not aware of GXIDs generated by GTM Standby. Patch by Andrei Martsinchyk M src/gtm/main/gtm_txn.c http://postgres-xc.git.sourceforge.net/git/gitweb.cgi?p=postgres-xc/postgres-xc;a=commitdiff;h=7a099089c8d8d61150e7f49ccb9e0e08db1218ad commit 700db54f04412e0fc91557d46da2b5a236b264a8 Author: Michael Paquier <mi...@ot...> Date: Wed Jul 11 10:04:12 2012 +0900 Block GXID generation on standbys If a node accidentally connects to the Standby and reconnects to the Master afterwards, it will get an inconsistent GXID value since GTM Master is not aware of GXIDs generated by GTM Standby. Patch by Andrei Martsinchyk M src/gtm/main/gtm_txn.c http://postgres-xc.git.sourceforge.net/git/gitweb.cgi?p=postgres-xc/postgres-xc;a=commitdiff;h=b089430ddc0ed44587bde9f7fa500adb3dd9c26c commit 700db54f04412e0fc91557d46da2b5a236b264a8 Author: Michael Paquier <mi...@ot...> Date: Wed Jul 11 10:04:12 2012 +0900 Block GXID generation on standbys If a node accidentally connects to the Standby and reconnects to the Master afterwards, it will get an inconsistent GXID value since GTM Master is not aware of GXIDs generated by GTM Standby. Patch by Andrei Martsinchyk M src/gtm/main/gtm_txn.c http://postgres-xc.git.sourceforge.net/git/gitweb.cgi?p=postgres-xc/postgres-xc;a=commitdiff;h=840b5372afa69618521101aaaf6d50b4395f9249 commit 700db54f04412e0fc91557d46da2b5a236b264a8 Author: Michael Paquier <mi...@ot...> Date: Wed Jul 11 10:04:12 2012 +0900 Block GXID generation on standbys If a node accidentally connects to the Standby and reconnects to the Master afterwards, it will get an inconsistent GXID value since GTM Master is not aware of GXIDs generated by GTM Standby. Patch by Andrei Martsinchyk M src/gtm/main/gtm_txn.c ----------------------------------------------------------------------- Summary of changes: src/gtm/client/gtm_client.c | 35 +++++++++++++++++------------------ src/gtm/common/gtm_serialize.c | 18 +----------------- src/gtm/main/gtm_thread.c | 33 ++++++++++++++++++++++----------- src/gtm/main/gtm_txn.c | 6 ++++++ src/gtm/main/main.c | 1 + src/gtm/recovery/register_gtm.c | 13 +++++++------ src/include/gtm/gtm.h | 6 +++--- 7 files changed, 57 insertions(+), 55 deletions(-) hooks/post-receive -- Postgres-XC |
From: Michael P. <mic...@us...> - 2012-07-11 00:14:46
|
Project "Postgres-XC". The branch, master has been updated via 011b1d7cfec2ebdf4aeb32611e4a3f8ceedb2dc0 (commit) from 1ec710ee12ae33b7964a21b4f138ed42f9506aa6 (commit) - Log ----------------------------------------------------------------- http://postgres-xc.git.sourceforge.net/git/gitweb.cgi?p=postgres-xc/postgres-xc;a=commitdiff;h=011b1d7cfec2ebdf4aeb32611e4a3f8ceedb2dc0 commit 011b1d7cfec2ebdf4aeb32611e4a3f8ceedb2dc0 Author: Michael Paquier <mi...@ot...> Date: Wed Jul 11 09:07:54 2012 +0900 Refactoring of gram.y for distribution clauses This refactoring allows the usage of clauses TO NODE, TO GROUP and DISTRIBUTE BY in a more flexible way by decoupling empty extensions. This is particularly useful to plug-in those clauses to other existing SQL of Postgres. A slight grammar modification is being introduced in this commit, which is the addition of brackets when defining a node list. This has consequences on the following queries: - EXECUTE DIRECT - CLEAN CONNECTION - CREATE TABLE (subset of nodes) - CREATE TABLE AS - CREATE NODE GROUP This simple modification allows the use of TO NODE/TO GROUP extensions when they are listed in a list of commands separated by commas. By the way, this modification really lowers the possibility of shift-reduce conflicts in bison when implementing new features in XC using existing clauses. M doc-xc/src/sgml/ref/clean_connection.sgmlin M doc-xc/src/sgml/ref/create_nodegroup.sgmlin M doc-xc/src/sgml/ref/create_table.sgmlin M doc-xc/src/sgml/ref/create_table_as.sgmlin M doc-xc/src/sgml/ref/execute_direct.sgmlin M src/backend/executor/spi.c M src/backend/parser/gram.y M src/backend/pgxc/locator/locator.c M src/backend/utils/adt/ruleutils.c M src/pl/plpgsql/src/plpgsql--1.0.sql M src/test/regress/expected/xc_create_function.out M src/test/regress/sql/xc_create_function.sql ----------------------------------------------------------------------- Summary of changes: doc-xc/src/sgml/ref/clean_connection.sgmlin | 2 +- doc-xc/src/sgml/ref/create_nodegroup.sgmlin | 2 +- doc-xc/src/sgml/ref/create_table.sgmlin | 4 +- doc-xc/src/sgml/ref/create_table_as.sgmlin | 2 +- doc-xc/src/sgml/ref/execute_direct.sgmlin | 2 +- src/backend/executor/spi.c | 2 +- src/backend/parser/gram.y | 42 +++++++++++++-------- src/backend/pgxc/locator/locator.c | 6 ++- src/backend/utils/adt/ruleutils.c | 3 +- src/pl/plpgsql/src/plpgsql--1.0.sql | 2 +- src/test/regress/expected/xc_create_function.out | 7 ++-- src/test/regress/sql/xc_create_function.sql | 7 ++-- 12 files changed, 48 insertions(+), 33 deletions(-) hooks/post-receive -- Postgres-XC |
From: Michael P. <mic...@us...> - 2012-07-10 01:35:46
|
Project "Postgres-XC". The branch, master has been updated via 1ec710ee12ae33b7964a21b4f138ed42f9506aa6 (commit) from cc12ea8e67c46f9782804105915dcc90725a1f66 (commit) - Log ----------------------------------------------------------------- http://postgres-xc.git.sourceforge.net/git/gitweb.cgi?p=postgres-xc/postgres-xc;a=commitdiff;h=1ec710ee12ae33b7964a21b4f138ed42f9506aa6 commit 1ec710ee12ae33b7964a21b4f138ed42f9506aa6 Author: Michael Paquier <mi...@ot...> Date: Tue Jul 10 10:37:35 2012 +0900 Remove duplication of functions get_xc_node_name and is_prepared_on_node Those functions were created in regression tests xc_for_update and xc_prepared_xacts. Now their creation is done in xc_create_function. M src/test/regress/expected/xc_create_function.out M src/test/regress/expected/xc_for_update.out M src/test/regress/expected/xc_prepared_xacts.out M src/test/regress/sql/xc_create_function.sql M src/test/regress/sql/xc_for_update.sql M src/test/regress/sql/xc_prepared_xacts.sql ----------------------------------------------------------------------- Summary of changes: src/test/regress/expected/xc_create_function.out | 37 +++++++++++++++++ src/test/regress/expected/xc_for_update.out | 40 +----------------- src/test/regress/expected/xc_prepared_xacts.out | 42 ++------------------ src/test/regress/sql/xc_create_function.sql | 39 ++++++++++++++++++ src/test/regress/sql/xc_for_update.sql | 43 +------------------- src/test/regress/sql/xc_prepared_xacts.sql | 46 ++-------------------- 6 files changed, 90 insertions(+), 157 deletions(-) hooks/post-receive -- Postgres-XC |