From: Michael P. <mic...@us...> - 2011-11-21 02:52:46
|
Project "Postgres-XC". The branch, master has been updated via e6c1533b4441c78b16edf1450bd89374b9764d2a (commit) from f44c9c59b84700e9f24a20f3adb0c063005acdbd (commit) - Log ----------------------------------------------------------------- http://postgres-xc.git.sourceforge.net/git/gitweb.cgi?p=postgres-xc/postgres-xc;a=commitdiff;h=e6c1533b4441c78b16edf1450bd89374b9764d2a commit e6c1533b4441c78b16edf1450bd89374b9764d2a Author: Michael P <mic...@us...> Date: Mon Nov 21 11:54:43 2011 +0900 Fix for bug 3439134: replicated/replicated join with mapping node lists This commit fixes an issue for joins on replicated tables in the case where their node lists intersect but neither of them is included in the other. Hence, it was only reproducible in a cluster with at least 3 Datanodes. Now, the intersection node list is used to choose where to push down the remote join in this special case. M src/backend/pgxc/locator/locator.c M src/backend/pgxc/plan/planner.c ----------------------------------------------------------------------- Summary of changes: src/backend/pgxc/locator/locator.c | 10 +++++++- src/backend/pgxc/plan/planner.c | 42 ++++++++++++++++++++++++++++++------ 2 files changed, 44 insertions(+), 8 deletions(-) hooks/post-receive -- Postgres-XC |