[pgpool-committers: 338] pgpool: Fix hangup when query conflict occurs in Hot-Standby mode.

Yugo Nagata nagata at sraoss.co.jp
Thu Jun 7 11:22:41 JST 2012


Fix hangup when query conflict occurs in Hot-Standby mode.
- Query example to reproduce:
  (S1) BEGIN;
  (S1) SELECT * FROM t;
  (S2) DELETE FROM t;
  (S2) VACUUM t;

Fix SmpleQuery() to handle errors by calling check_errors().
- Previously, check_errors() was called only in Execute().

 Please enter the commit message for your changes. Lines starting

Branch
------
V3_1_STABLE

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

Modified Files
--------------
pool_process_query.c |   14 ++++++++++++--
pool_proto_modules.c |   39 ++++++++++++++++++++++++++++++++-------
pool_proto_modules.h |    2 +-
3 files changed, 45 insertions(+), 10 deletions(-)



More information about the pgpool-committers mailing list