[pgpool-committers: 3140] pgpool: Redirect all user queries to primary server

Tatsuo Ishii ishii at postgresql.org
Fri Apr 15 13:26:31 JST 2016


Redirect all user queries to primary server

Up to now some user queries are sent to other than the primary server
even if load_balance_mode = off. This commit changes the behavior: if
load_balance_mode = off in streaming replication mode, now all the
user queries are sent to the primary server only.

See bug 189 for related info.

Branch
------
V3_5_STABLE

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

Modified Files
--------------
src/context/pool_session_context.c | 28 ++++++++++++++++++----------
1 file changed, 18 insertions(+), 10 deletions(-)



More information about the pgpool-committers mailing list