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

Yugo Nagata nagata at sraoss.co.jp
Wed Jun 6 11:38:58 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().

Branch
------
master

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

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