[pgpool-committers: 1224] pgpool: Fix bug with load balance in replication mode.

Tatsuo Ishii ishii at postgresql.org
Sat Aug 17 10:37:27 JST 2013


Fix bug with load balance in replication mode.

When load_balance_mode is off in replication mode, SELECT's should be
sent to master node only, rather than sent to all nodes in an
explicit transaction. Also add regression test case for this. Problem
reported in [pgpool-general: 2038].

Branch
------
V3_3_STABLE

Details
-------
http://git.postgresql.org/gitweb?p=pgpool2.git;a=commitdiff;h=1ac45a28258074ea4d9d902aca016f970d31f311

Modified Files
--------------
pool_query_context.c                           |   12 +++++++--
test/regression/tests/001.load_balance/test.sh |   32 +++++++++++++++++++++++-
2 files changed, 41 insertions(+), 3 deletions(-)



More information about the pgpool-committers mailing list