[pgpool-committers: 1223] 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
------
master

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

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



More information about the pgpool-committers mailing list