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

Yugo Nagata nagata at sraoss.co.jp
Sat Jun 9 17:55:10 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().

Branches
--------
feature/watchdog
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