[pgpool-committers: 59] pgpool: Fix pool_start_query() so that it uses my_master_node_id for in

Tatsuo Ishii ishii at postgresql.org
Sat Mar 3 12:21:27 JST 2012


Fix pool_start_query() so that it uses my_master_node_id for initial
virtual_master_node_id. Real master node could be changed while pgpool
is running in streaming replication mode. Before it assigned
REAL_MASTER_NODE_ID, which could have no connections after fail over
and cause segafult because there's no connection to it.

Branch
------
master

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

Modified Files
--------------
pool_query_context.c |    2 +-
1 files changed, 1 insertions(+), 1 deletions(-)



More information about the pgpool-committers mailing list