Fix load balance bug in replication mode.
authorTatsuo Ishii <ishii@postgresql.org>
Mon, 4 Nov 2013 12:51:04 +0000 (21:51 +0900)
committerTatsuo Ishii <ishii@postgresql.org>
Mon, 4 Nov 2013 12:51:04 +0000 (21:51 +0900)
commitee51d9d1bcda597815bbea958cad82bb37f30765
treee8f53b2de5c76a8a02ca6713fe33ff855158d808
parentcf095115ec32bdc8991452868c9f491d7e41cace
Fix load balance bug in replication mode.

When load_balance_mode = off, SELECTs including writing function
should be sent to all the DB nodes. Per [pgpool-general: 2221].

The bug was introduced in:
 http://git.postgresql.org/gitweb/?p=pgpool2.git;a=commitdiff;h=1ac45a28258074ea4d9d902aca016f970d31f311
(3.3.1).
src/context/pool_query_context.c
src/test/regression/tests/001.load_balance/test.sh