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
(1) |
2
(2) |
3
|
4
|
5
|
6
(1) |
7
(1) |
8
(3) |
9
|
10
|
11
|
12
(2) |
13
(3) |
14
(2) |
15
(7) |
16
(4) |
17
|
18
|
19
(1) |
20
(7) |
21
|
22
(2) |
23
(1) |
24
|
25
|
26
(1) |
27
|
28
(1) |
29
|
30
|
31
|
From: Koichi S. <koi...@us...> - 2011-12-14 02:29:54
|
Project "Postgres-XC". The branch, master has been updated via a53dd68ce6ab8a66ae7b4f7487b3b1aa78423894 (commit) from f5bc8bc529edaf30617c2c23682df1367d06fd02 (commit) - Log ----------------------------------------------------------------- http://postgres-xc.git.sourceforge.net/git/gitweb.cgi?p=postgres-xc/postgres-xc;a=commitdiff;h=a53dd68ce6ab8a66ae7b4f7487b3b1aa78423894 commit a53dd68ce6ab8a66ae7b4f7487b3b1aa78423894 Author: Koichi Suzuki <koi...@gm...> Date: Wed Dec 14 11:21:28 2011 +0900 This commit allows GTM-Standby to connect to GTM anytime. Without this patch, GTM-Standby must connect to GTM before any clients are connected. This patch eliminates this restriction. In this patch, I used thr_lock RW lock which was not used so far. When GTM-Standby connects to GTM, GTM recognizes that this is another GTM (then, standby) and registers this as another GTM, which will be used later by main thread and worker thread. For running worker thread to begin backup to standby, it must connect to it. Before backup from each running worker threads begin, all the existing transaction status and sequence status must be backed up. For this purpose, when GTM-standby connects to GTM, it issues new message MSG_BEGIN_BACKUP. When GTM receives this, GTM locks all the worker thread to make status static. Then GTM-Standby issues commands to backup everything. When backup is done, GTM-Standby issues MSG_END_BACKUP, whcih release the lock of each worker thread. When the lock is released, each worker thread checks if there're new GTM-Standby connected. If so, each worker thread connects to GTM-Standby and begin backup of each worker thread. There're no update in the document. Affected files are: modified: src/backend/utils/mmgr/mcxt.c modified: src/gtm/client/fe-protocol.c modified: src/gtm/client/gtm_client.c modified: src/gtm/common/gtm_serialize.c modified: src/gtm/common/mcxt.c modified: src/gtm/gtm_ctl/Makefile modified: src/gtm/main/Makefile modified: src/gtm/main/gtm_opt.c modified: src/gtm/main/gtm_standby.c modified: src/gtm/main/gtm_thread.c modified: src/gtm/main/main.c modified: src/gtm/proxy/Makefile modified: src/gtm/proxy/gtm_proxy_opt.c modified: src/gtm/recovery/Makefile renamed: src/gtm/recovery/register.c -> src/gtm/recovery/register_common.c new file: src/gtm/recovery/register_gtm.c modified: src/include/gen_alloc.h modified: src/include/gtm/gtm.h modified: src/include/gtm/gtm_c.h modified: src/include/gtm/gtm_client.h modified: src/include/gtm/gtm_msg.h modified: src/include/gtm/gtm_opt.h modified: src/include/gtm/gtm_standby.h modified: src/include/gtm/gtm_txn.h modified: src/include/gtm/register.h M src/backend/utils/mmgr/mcxt.c M src/gtm/client/fe-protocol.c M src/gtm/client/gtm_client.c M src/gtm/common/gtm_serialize.c M src/gtm/common/mcxt.c M src/gtm/gtm_ctl/Makefile M src/gtm/main/Makefile M src/gtm/main/gtm_opt.c M src/gtm/main/gtm_standby.c M src/gtm/main/gtm_thread.c M src/gtm/main/main.c M src/gtm/proxy/Makefile M src/gtm/proxy/gtm_proxy_opt.c M src/gtm/recovery/Makefile R071 src/gtm/recovery/register.c src/gtm/recovery/register_common.c A src/gtm/recovery/register_gtm.c M src/include/gen_alloc.h M src/include/gtm/gtm.h 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_opt.h M src/include/gtm/gtm_standby.h M src/include/gtm/gtm_txn.h M src/include/gtm/register.h ----------------------------------------------------------------------- Summary of changes: src/backend/utils/mmgr/mcxt.c | 8 +- src/gtm/client/fe-protocol.c | 9 + src/gtm/client/gtm_client.c | 38 ++ src/gtm/common/gtm_serialize.c | 23 +- src/gtm/common/mcxt.c | 8 +- src/gtm/gtm_ctl/Makefile | 8 +- src/gtm/main/Makefile | 7 +- src/gtm/main/gtm_opt.c | 35 +- src/gtm/main/gtm_standby.c | 69 +++- src/gtm/main/gtm_thread.c | 40 ++ src/gtm/main/main.c | 121 +++++- src/gtm/proxy/Makefile | 6 +- src/gtm/proxy/gtm_proxy_opt.c | 41 +- src/gtm/recovery/Makefile | 4 +- src/gtm/recovery/{register.c => register_common.c} | 315 +-------------- src/gtm/recovery/register_gtm.c | 453 ++++++++++++++++++++ src/include/gen_alloc.h | 6 +- src/include/gtm/gtm.h | 5 + src/include/gtm/gtm_c.h | 13 +- src/include/gtm/gtm_client.h | 6 + src/include/gtm/gtm_msg.h | 4 + src/include/gtm/gtm_opt.h | 26 ++ src/include/gtm/gtm_standby.h | 8 + src/include/gtm/gtm_txn.h | 22 +- src/include/gtm/register.h | 3 + 25 files changed, 877 insertions(+), 401 deletions(-) rename src/gtm/recovery/{register.c => register_common.c} (71%) create mode 100644 src/gtm/recovery/register_gtm.c hooks/post-receive -- Postgres-XC |
From: Michael P. <mic...@us...> - 2011-12-13 04:23:43
|
Project "Postgres-XC". The branch, master has been updated via f5bc8bc529edaf30617c2c23682df1367d06fd02 (commit) from 385d0bc10bd9c45e93e4d50b7d5658fc5ce7be9b (commit) - Log ----------------------------------------------------------------- http://postgres-xc.git.sourceforge.net/git/gitweb.cgi?p=postgres-xc/postgres-xc;a=commitdiff;h=f5bc8bc529edaf30617c2c23682df1367d06fd02 commit f5bc8bc529edaf30617c2c23682df1367d06fd02 Author: Michael P <mic...@us...> Date: Tue Dec 13 13:24:14 2011 +0900 Remove references to node masters in error messages Master/slave concept in pgxc node management has been removed with 2a406e56dea3e750e74cc38115e83e30217b4822. M doc-xc/src/sgml/ref/create_node.sgmlin M doc-xc/src/sgml/ref/create_nodegroup.sgmlin M src/backend/catalog/heap.c M src/backend/pgxc/nodemgr/groupmgr.c M src/backend/pgxc/nodemgr/nodemgr.c M src/backend/pgxc/pool/pgxcnode.c M src/backend/tcop/utility.c ----------------------------------------------------------------------- Summary of changes: doc-xc/src/sgml/ref/create_node.sgmlin | 2 +- doc-xc/src/sgml/ref/create_nodegroup.sgmlin | 2 +- src/backend/catalog/heap.c | 10 +++++----- src/backend/pgxc/nodemgr/groupmgr.c | 2 +- src/backend/pgxc/nodemgr/nodemgr.c | 8 ++++---- src/backend/pgxc/pool/pgxcnode.c | 2 +- src/backend/tcop/utility.c | 4 ++-- 7 files changed, 15 insertions(+), 15 deletions(-) hooks/post-receive -- Postgres-XC |
From: Michael P. <mic...@us...> - 2011-12-13 03:17:27
|
Project "Postgres-XC". The branch, master has been updated via 385d0bc10bd9c45e93e4d50b7d5658fc5ce7be9b (commit) from a0286d4a01d5f1eb93902b23e218cfdd964b81e4 (commit) - Log ----------------------------------------------------------------- http://postgres-xc.git.sourceforge.net/git/gitweb.cgi?p=postgres-xc/postgres-xc;a=commitdiff;h=385d0bc10bd9c45e93e4d50b7d5658fc5ce7be9b commit 385d0bc10bd9c45e93e4d50b7d5658fc5ce7be9b Author: Michael P <mic...@us...> Date: Tue Dec 13 12:20:23 2011 +0900 Fix for bug 3458423: drop cascade on a temporary object DROP CASCADE having dependencies with temporary objects was using implicit 2PC. We need to be sure that 2PC is not used in this case as temporary objects cannot be prepared. M src/backend/catalog/dependency.c ----------------------------------------------------------------------- Summary of changes: src/backend/catalog/dependency.c | 86 ++++++++++++++++++++++++++------------ 1 files changed, 59 insertions(+), 27 deletions(-) hooks/post-receive -- Postgres-XC |
From: Michael P. <mic...@us...> - 2011-12-13 02:03:51
|
Project "Postgres-XC". The branch, master has been updated via a0286d4a01d5f1eb93902b23e218cfdd964b81e4 (commit) from 0f1a7f6a702a73b36483ace524db181b0b7f49ed (commit) - Log ----------------------------------------------------------------- http://postgres-xc.git.sourceforge.net/git/gitweb.cgi?p=postgres-xc/postgres-xc;a=commitdiff;h=a0286d4a01d5f1eb93902b23e218cfdd964b81e4 commit a0286d4a01d5f1eb93902b23e218cfdd964b81e4 Author: Michael P <mic...@us...> Date: Tue Dec 13 11:04:10 2011 +0900 Fix for bug 3458413: view creation on a temporary table A simple test case like this was failing: create temp table ba (a int); create view ba_v as select * from ba; The failure was caused by the list of target objects that were not correctly analyzed, leading to a use of 2PC on this view which is indirectly temporary. M src/backend/commands/view.c M src/backend/pgxc/pool/execRemote.c M src/backend/tcop/utility.c M src/include/pgxc/execRemote.h ----------------------------------------------------------------------- Summary of changes: src/backend/commands/view.c | 9 +++++++++ src/backend/pgxc/pool/execRemote.c | 11 +++++++++++ src/backend/tcop/utility.c | 6 +++--- src/include/pgxc/execRemote.h | 2 ++ 4 files changed, 25 insertions(+), 3 deletions(-) hooks/post-receive -- Postgres-XC |
From: Michael P. <mic...@us...> - 2011-12-12 06:47:08
|
Project "Postgres-XC". The branch, master has been updated via 0f1a7f6a702a73b36483ace524db181b0b7f49ed (commit) from 6b7d918c4122fd0a7d27eb69a4019cc60cd265f1 (commit) - Log ----------------------------------------------------------------- http://postgres-xc.git.sourceforge.net/git/gitweb.cgi?p=postgres-xc/postgres-xc;a=commitdiff;h=0f1a7f6a702a73b36483ace524db181b0b7f49ed commit 0f1a7f6a702a73b36483ace524db181b0b7f49ed Author: Michael P <mic...@us...> Date: Mon Dec 12 15:48:56 2011 +0900 Add a check on value type fore node DDL Specifying an Integer instead of a string for host leaded to a crash. The same problem was potentially possible for port value and type value. M src/backend/pgxc/nodemgr/nodemgr.c ----------------------------------------------------------------------- Summary of changes: src/backend/pgxc/nodemgr/nodemgr.c | 18 ++++++++++++++++++ 1 files changed, 18 insertions(+), 0 deletions(-) hooks/post-receive -- Postgres-XC |
From: Michael P. <mic...@us...> - 2011-12-12 00:05:40
|
Project "Postgres-XC". The branch, master has been updated via 6b7d918c4122fd0a7d27eb69a4019cc60cd265f1 (commit) from b8dd45c3c4aa092d26f1b913f2005cc3d16484a3 (commit) - Log ----------------------------------------------------------------- http://postgres-xc.git.sourceforge.net/git/gitweb.cgi?p=postgres-xc/postgres-xc;a=commitdiff;h=6b7d918c4122fd0a7d27eb69a4019cc60cd265f1 commit 6b7d918c4122fd0a7d27eb69a4019cc60cd265f1 Author: Michael P <mic...@us...> Date: Mon Dec 12 09:05:03 2011 +0900 Forbid access on Coordinator for inconsistent connection data An additional check is made when session starts up to see if remote node information is consistent between pool and catalogs. In case it is not, non-superusers are not allowed to have an access to the cluster as this could result in creation of inconsistent data. A superuser is authorized to connect however he receives a warning message to inform that remote node information inconsistency has to be solved. M src/backend/tcop/postgres.c ----------------------------------------------------------------------- Summary of changes: src/backend/tcop/postgres.c | 19 +++++++++++++++++++ 1 files changed, 19 insertions(+), 0 deletions(-) hooks/post-receive -- Postgres-XC |
From: Michael P. <mic...@us...> - 2011-12-08 08:00:48
|
Project "Postgres-XC". The branch, master has been updated via b8dd45c3c4aa092d26f1b913f2005cc3d16484a3 (commit) from 9d17d9e5cde25ec53e7022de53531a58cbb57253 (commit) - Log ----------------------------------------------------------------- http://postgres-xc.git.sourceforge.net/git/gitweb.cgi?p=postgres-xc/postgres-xc;a=commitdiff;h=b8dd45c3c4aa092d26f1b913f2005cc3d16484a3 commit b8dd45c3c4aa092d26f1b913f2005cc3d16484a3 Author: Michael P <mic...@us...> Date: Thu Dec 8 16:58:41 2011 +0900 Correct pgxc_pool_check process resulting in incorrect assertion This assertion crash happened due to a for loop not correctly configured when running pgxc_pool_check. M src/backend/pgxc/pool/pgxcnode.c M src/backend/pgxc/pool/poolmgr.c ----------------------------------------------------------------------- Summary of changes: src/backend/pgxc/pool/pgxcnode.c | 2 +- src/backend/pgxc/pool/poolmgr.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) hooks/post-receive -- Postgres-XC |
From: Michael P. <mic...@us...> - 2011-12-08 07:17:40
|
Project "Postgres-XC". The branch, master has been updated via 9d17d9e5cde25ec53e7022de53531a58cbb57253 (commit) from 2a406e56dea3e750e74cc38115e83e30217b4822 (commit) - Log ----------------------------------------------------------------- http://postgres-xc.git.sourceforge.net/git/gitweb.cgi?p=postgres-xc/postgres-xc;a=commitdiff;h=9d17d9e5cde25ec53e7022de53531a58cbb57253 commit 9d17d9e5cde25ec53e7022de53531a58cbb57253 Author: Michael P <mic...@us...> Date: Thu Dec 8 16:13:20 2011 +0900 Fix for bug 3454270: cache lookup error on array selection SELECT on an array element was failing due to an agument value not taken into account by op_mergejoinable. Patch by sch19831106, code realignment and review by me. M src/backend/pgxc/plan/planner.c ----------------------------------------------------------------------- Summary of changes: src/backend/pgxc/plan/planner.c | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) hooks/post-receive -- Postgres-XC |
From: Michael P. <mic...@us...> - 2011-12-08 04:52:20
|
Project "Postgres-XC". The branch, master has been updated via 2a406e56dea3e750e74cc38115e83e30217b4822 (commit) from 99407dfd856b4250593379a6764f9bbd61ae03f7 (commit) - Log ----------------------------------------------------------------- http://postgres-xc.git.sourceforge.net/git/gitweb.cgi?p=postgres-xc/postgres-xc;a=commitdiff;h=2a406e56dea3e750e74cc38115e83e30217b4822 commit 2a406e56dea3e750e74cc38115e83e30217b4822 Author: Michael P <mic...@us...> Date: Thu Dec 8 13:50:25 2011 +0900 Simplify node DDL grammar and supress slave management part New grammar uses WITH clause of CREATE TABLE in this manner: CREATE/ALTER NODE nodename WITH ( [ TYPE = ('coordinator' | 'datanode'),] [ HOST = 'string',] [ PORT = portnum,] [ PRIMARY,] [ PREFERRED ]); This applies to CREATE/ALTER NODE. Grammar simplification results in the deletion in related_to column of pgxc_node catalog. Documentation is updated in consequence. This commit solves also an issue with variable names sharing same format between GTM and XC nodes. M doc-xc/src/sgml/catalogs.sgmlin M doc-xc/src/sgml/ref/alter_node.sgmlin M doc-xc/src/sgml/ref/create_node.sgmlin M src/backend/access/transam/gtm.c M src/backend/catalog/heap.c M src/backend/commands/copy.c M src/backend/parser/gram.y M src/backend/pgxc/locator/locator.c M src/backend/pgxc/nodemgr/groupmgr.c M src/backend/pgxc/nodemgr/nodemgr.c M src/backend/pgxc/pool/execRemote.c M src/backend/pgxc/pool/pgxcnode.c M src/backend/pgxc/pool/poolmgr.c M src/backend/postmaster/postmaster.c M src/backend/utils/cache/lsyscache.c M src/backend/utils/sort/tuplesort.c M src/bin/initdb/initdb.c M src/gtm/client/fe-connect.c M src/gtm/client/fe-protocol.c M src/gtm/client/gtm_client.c M src/gtm/client/test/test_seq.c M src/gtm/client/test/test_snap.c M src/gtm/client/test/test_snapperf.c M src/gtm/client/test/test_txn.c M src/gtm/client/test/test_txnperf.c M src/gtm/common/elog.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_txn.c M src/gtm/main/main.c M src/gtm/proxy/proxy_main.c M src/gtm/recovery/register.c M src/gtm/recovery/replication.c M src/gtm/test/test_common.c M src/gtm/test/test_connect.c M src/gtm/test/test_node.c M src/gtm/test/test_node5.c M src/gtm/test/test_repli.c M src/gtm/test/test_repli2.c M src/gtm/test/test_scenario.c M src/gtm/test/test_standby.c M src/gtm/test/test_startup.c M src/gtm/test/test_txn.c M src/gtm/test2/test_connect2.c M src/gtm/test2/test_standby.c M src/gtm/test2/test_startup.c M src/gtm/test2/test_txn.c M src/gtm/test2/test_txn2.c M src/gtm/test2/test_txn3.c M src/include/catalog/pgxc_node.h M src/include/gtm/gtm_c.h M src/include/parser/kwlist.h M src/include/pgxc/nodemgr.h M src/include/utils/lsyscache.h M src/test/regress/pg_regress.c ----------------------------------------------------------------------- Summary of changes: doc-xc/src/sgml/catalogs.sgmlin | 17 +-- doc-xc/src/sgml/ref/alter_node.sgmlin | 64 +++------ doc-xc/src/sgml/ref/create_node.sgmlin | 41 ++---- src/backend/access/transam/gtm.c | 6 +- src/backend/catalog/heap.c | 4 +- src/backend/commands/copy.c | 2 +- src/backend/parser/gram.y | 108 +++----------- src/backend/pgxc/locator/locator.c | 14 +- src/backend/pgxc/nodemgr/groupmgr.c | 2 +- src/backend/pgxc/nodemgr/nodemgr.c | 263 +++++++++++--------------------- src/backend/pgxc/pool/execRemote.c | 14 +- src/backend/pgxc/pool/pgxcnode.c | 75 ++-------- src/backend/pgxc/pool/poolmgr.c | 68 +-------- src/backend/postmaster/postmaster.c | 12 +- src/backend/utils/cache/lsyscache.c | 23 --- src/backend/utils/sort/tuplesort.c | 2 +- src/bin/initdb/initdb.c | 2 +- src/gtm/client/fe-connect.c | 2 +- src/gtm/client/fe-protocol.c | 6 +- src/gtm/client/gtm_client.c | 2 +- src/gtm/client/test/test_seq.c | 2 +- src/gtm/client/test/test_snap.c | 2 +- src/gtm/client/test/test_snapperf.c | 2 +- src/gtm/client/test/test_txn.c | 2 +- src/gtm/client/test/test_txnperf.c | 2 +- src/gtm/common/elog.c | 2 +- src/gtm/main/gtm_seq.c | 36 +++--- src/gtm/main/gtm_snap.c | 8 +- src/gtm/main/gtm_standby.c | 10 +- src/gtm/main/gtm_txn.c | 60 ++++---- src/gtm/main/main.c | 2 +- src/gtm/proxy/proxy_main.c | 10 +- src/gtm/recovery/register.c | 24 ++-- src/gtm/recovery/replication.c | 8 +- src/gtm/test/test_common.c | 4 +- src/gtm/test/test_connect.c | 12 +- src/gtm/test/test_node.c | 14 +- src/gtm/test/test_node5.c | 14 +- src/gtm/test/test_repli.c | 2 +- src/gtm/test/test_repli2.c | 14 +- src/gtm/test/test_scenario.c | 10 +- src/gtm/test/test_standby.c | 2 +- src/gtm/test/test_startup.c | 4 +- src/gtm/test/test_txn.c | 4 +- src/gtm/test2/test_connect2.c | 2 +- src/gtm/test2/test_standby.c | 2 +- src/gtm/test2/test_startup.c | 4 +- src/gtm/test2/test_txn.c | 4 +- src/gtm/test2/test_txn2.c | 2 +- src/gtm/test2/test_txn3.c | 2 +- src/include/catalog/pgxc_node.h | 23 +-- src/include/gtm/gtm_c.h | 12 +- src/include/parser/kwlist.h | 13 -- src/include/pgxc/nodemgr.h | 4 +- src/include/utils/lsyscache.h | 1 - src/test/regress/pg_regress.c | 24 ++-- 56 files changed, 351 insertions(+), 719 deletions(-) hooks/post-receive -- Postgres-XC |
From: Pavan D. <pa...@us...> - 2011-12-07 02:10:37
|
Project "Postgres-XC". The branch, REL0_9_6_STABLE has been updated via cbe89af7f1c010947a24d5d6079f5ebafdc98c61 (commit) via c752d474cf45fd49511d4a934d9d467613fc0ed7 (commit) from a4e7d56d316334a0b35ea26a8a24146675499fbe (commit) - Log ----------------------------------------------------------------- http://postgres-xc.git.sourceforge.net/git/gitweb.cgi?p=postgres-xc/postgres-xc;a=commitdiff;h=cbe89af7f1c010947a24d5d6079f5ebafdc98c61 commit 99407dfd856b4250593379a6764f9bbd61ae03f7 Author: Amit Khandekar <ami...@en...> Date: Tue Dec 6 14:52:36 2011 +0530 Fix for bug ID 3441661 : pg_regress: create_view.sql : Where clause in view fails. "where" qual expressions are filled with opfuncids, which is required to determine immuability of functions, specifically because view subquery RTE does not have function oids populated in its quals. M src/backend/pgxc/plan/planner.c http://postgres-xc.git.sourceforge.net/git/gitweb.cgi?p=postgres-xc/postgres-xc;a=commitdiff;h=c752d474cf45fd49511d4a934d9d467613fc0ed7 commit 99407dfd856b4250593379a6764f9bbd61ae03f7 Author: Amit Khandekar <ami...@en...> Date: Tue Dec 6 14:52:36 2011 +0530 Fix for bug ID 3441661 : pg_regress: create_view.sql : Where clause in view fails. "where" qual expressions are filled with opfuncids, which is required to determine immuability of functions, specifically because view subquery RTE does not have function oids populated in its quals. M src/backend/pgxc/plan/planner.c ----------------------------------------------------------------------- Summary of changes: src/backend/executor/execMain.c | 12 ++ src/backend/executor/execUtils.c | 3 + src/backend/executor/nodeModifyTable.c | 90 +++++++++++--- src/backend/nodes/copyfuncs.c | 3 + src/backend/nodes/outfuncs.c | 3 + src/backend/optimizer/plan/createplan.c | 166 +++++++++++++++++++++++++- src/backend/parser/gram.y | 8 +- src/backend/pgxc/plan/planner.c | 31 ++++- src/backend/pgxc/pool/execRemote.c | 71 ++++++++++- src/backend/rewrite/rewriteHandler.c | 203 +++++++++++++++---------------- src/backend/tcop/postgres.c | 11 ++ src/backend/utils/adt/ri_triggers.c | 9 ++ src/backend/utils/adt/ruleutils.c | 110 +++++++++++++++++ src/include/nodes/execnodes.h | 6 + src/include/nodes/plannodes.h | 3 + src/include/nodes/primnodes.h | 3 + src/include/pgxc/execRemote.h | 1 + src/include/rewrite/rewriteHandler.h | 4 + 18 files changed, 604 insertions(+), 133 deletions(-) hooks/post-receive -- Postgres-XC |
From: Amit K. <ami...@us...> - 2011-12-06 13:33:03
|
Project "Postgres-XC". The branch, master has been updated via 99407dfd856b4250593379a6764f9bbd61ae03f7 (commit) from 6dcef38adc1cad727f04dc18d1246519910ba767 (commit) - Log ----------------------------------------------------------------- http://postgres-xc.git.sourceforge.net/git/gitweb.cgi?p=postgres-xc/postgres-xc;a=commitdiff;h=99407dfd856b4250593379a6764f9bbd61ae03f7 commit 99407dfd856b4250593379a6764f9bbd61ae03f7 Author: Amit Khandekar <ami...@en...> Date: Tue Dec 6 14:52:36 2011 +0530 Fix for bug ID 3441661 : pg_regress: create_view.sql : Where clause in view fails. "where" qual expressions are filled with opfuncids, which is required to determine immuability of functions, specifically because view subquery RTE does not have function oids populated in its quals. M src/backend/pgxc/plan/planner.c ----------------------------------------------------------------------- Summary of changes: src/backend/pgxc/plan/planner.c | 7 +++++++ 1 files changed, 7 insertions(+), 0 deletions(-) hooks/post-receive -- Postgres-XC |
From: Amit K. <ami...@us...> - 2011-12-02 06:12:18
|
Project "Postgres-XC". The branch, master has been updated via 6dcef38adc1cad727f04dc18d1246519910ba767 (commit) from e818a9697f2d6f3a3591178a056b15b742ba52d5 (commit) - Log ----------------------------------------------------------------- http://postgres-xc.git.sourceforge.net/git/gitweb.cgi?p=postgres-xc/postgres-xc;a=commitdiff;h=6dcef38adc1cad727f04dc18d1246519910ba767 commit 6dcef38adc1cad727f04dc18d1246519910ba767 Author: Amit Khandekar <ami...@en...> Date: Fri Dec 2 11:39:29 2011 +0530 Fix for bug ID 3446932: pg_regress: join.sql : Join involving view errors out In get_from_clause_item(), add rte->eref->aliasname as the subquery RTE alias. M src/backend/utils/adt/ruleutils.c ----------------------------------------------------------------------- Summary of changes: src/backend/utils/adt/ruleutils.c | 16 ++++++++++++++++ 1 files changed, 16 insertions(+), 0 deletions(-) hooks/post-receive -- Postgres-XC |
From: Michael P. <mic...@us...> - 2011-12-02 01:48:05
|
Project "Postgres-XC". The branch, master has been updated via e818a9697f2d6f3a3591178a056b15b742ba52d5 (commit) from a99111c913f16fb0b47e94c2af340a0f17533ca6 (commit) - Log ----------------------------------------------------------------- http://postgres-xc.git.sourceforge.net/git/gitweb.cgi?p=postgres-xc/postgres-xc;a=commitdiff;h=e818a9697f2d6f3a3591178a056b15b742ba52d5 commit e818a9697f2d6f3a3591178a056b15b742ba52d5 Author: Michael P <mic...@us...> Date: Fri Dec 2 10:44:51 2011 +0900 Realign make check with new node DDL and dynamic session reload This commit does not solve yet the issues with node port calculation. as some additional checks need to be made for GTM port, pooler ports and node ports. GTM uses for the time being default port (6666), poolers use 6667 and 6668. make check runs if it is launched on a server where those ports are not in use by other instances. M src/test/regress/pg_regress.c ----------------------------------------------------------------------- Summary of changes: src/test/regress/pg_regress.c | 207 ++++++++++++++++++++++++++++++----------- 1 files changed, 153 insertions(+), 54 deletions(-) hooks/post-receive -- Postgres-XC |
From: Michael P. <mic...@us...> - 2011-12-01 04:24:31
|
Project "Postgres-XC". The branch, master has been updated via 6fbceecbfedd310d539d4fefe5e75f05b69c6805 (commit) from a43534d7519176e6dcdaf4517b329c2fed935c8b (commit) - Log ----------------------------------------------------------------- http://postgres-xc.git.sourceforge.net/git/gitweb.cgi?p=postgres-xc/postgres-xc;a=commitdiff;h=6fbceecbfedd310d539d4fefe5e75f05b69c6805 commit 6fbceecbfedd310d539d4fefe5e75f05b69c6805 Author: Michael P <mic...@us...> Date: Thu Dec 1 13:21:25 2011 +0900 Support for dynamic pooler/session connection information cache reload A new system function called pgxc_pool_reload has been added. If called, this function reloads connection information to remote nodes in a consistent way with the following process: 1) A lock is taken on pooler forbidding new connection requests 2) Database pools (user and database-dependant pools) are reloaded depending on the node information located on catalog pgxc_node. The following rules are followed depending on node connection information modification: - node whose node and port value is changed has its connections dropped and this node pool is deleted from each database pool - node deleted is deleted from each database pool - node unchanged is kept as is. However, its index value is changed depending on the new cluster configuration. - node created is added to each database pool 3) Lock is released 4) Session that invocated pgxc_pool_reload signals all the other server sessions to reconnect to pooler to allow each agent to update with newest connection information and reload session information related to remote node handles. This has as effect to abort current transactions and to remove all the temporary and prepared objects on session. Then a WARNING message is sent back to client to inform about the cluster configuration modification. 5) Session that invocated pgxc_pool_reload reconnects to pooler by itself and reloads its session information related to remote node handles. No WARNING message is sent back to client to inform about the session reload. This operation is limited to local Coordinator and returns a boolean depending on the success of the operation. If pooler data is consistent with catalog information when pgxc_pool_reload is invocated, nothing is done but a success message is returned. This has the following siplifications for cluster settings: - cluster_nodes.sql is deleted. - a new mandatory option --nodename is used to specify the node name of the node initialized. This allows to set up pgxc_node catalog with the node itself. pgxc_node_name in postgresql.conf is also set automatically. - CREATE/ALTER/DROP node are launched on local Coordinator only, meaning that when a cluster is set up, it is necessary to create node information on each Coordinator and then upload this information to pooler and sessions by invocaing pgxc_pool_reload. This optimization avoids to have to restart a Coordinator when changing cluster configuration and solves security problems related to cluster_nodes.sql that could be edited with all types of SQL even if its first target was only NODE DDL. M doc-xc/src/sgml/func.sgmlin M doc-xc/src/sgml/ref/alter_node.sgmlin M doc-xc/src/sgml/ref/create_node.sgmlin M doc-xc/src/sgml/ref/drop_node.sgmlin M doc-xc/src/sgml/ref/initdb.sgmlin M src/backend/catalog/Makefile D src/backend/catalog/cluster_nodes.sql M src/backend/pgxc/nodemgr/nodemgr.c M src/backend/pgxc/pool/pgxcnode.c M src/backend/pgxc/pool/poolmgr.c M src/backend/pgxc/pool/poolutils.c M src/backend/storage/ipc/procarray.c M src/backend/storage/ipc/procsignal.c M src/backend/tcop/postgres.c M src/backend/tcop/utility.c M src/bin/initdb/initdb.c M src/include/catalog/pg_proc.h M src/include/pgxc/pgxcnode.h M src/include/pgxc/poolmgr.h M src/include/pgxc/poolutils.h M src/include/storage/procarray.h M src/include/storage/procsignal.h M src/include/utils/builtins.h ----------------------------------------------------------------------- Summary of changes: doc-xc/src/sgml/func.sgmlin | 17 ++ doc-xc/src/sgml/ref/alter_node.sgmlin | 3 + doc-xc/src/sgml/ref/create_node.sgmlin | 3 + doc-xc/src/sgml/ref/drop_node.sgmlin | 3 + doc-xc/src/sgml/ref/initdb.sgmlin | 15 ++ src/backend/catalog/Makefile | 3 +- src/backend/catalog/cluster_nodes.sql | 13 - src/backend/pgxc/nodemgr/nodemgr.c | 11 + src/backend/pgxc/pool/pgxcnode.c | 56 +++++- src/backend/pgxc/pool/poolmgr.c | 413 ++++++++++++++++++++++++++++---- src/backend/pgxc/pool/poolutils.c | 151 ++++++++++++ src/backend/storage/ipc/procarray.c | 41 ++++ src/backend/storage/ipc/procsignal.c | 9 +- src/backend/tcop/postgres.c | 4 +- src/backend/tcop/utility.c | 22 +- src/bin/initdb/initdb.c | 72 ++++--- src/include/catalog/pg_proc.h | 2 + src/include/pgxc/pgxcnode.h | 2 +- src/include/pgxc/poolmgr.h | 17 ++ src/include/pgxc/poolutils.h | 3 + src/include/storage/procarray.h | 1 + src/include/storage/procsignal.h | 12 + src/include/utils/builtins.h | 1 + 23 files changed, 767 insertions(+), 107 deletions(-) delete mode 100644 src/backend/catalog/cluster_nodes.sql hooks/post-receive -- Postgres-XC |