[pgpool-committers: 1183] pgpool: Fix bug in parsing prepared statements with transaction handlin

Tatsuo Ishii ishii at postgresql.org
Tue Jul 30 00:01:56 JST 2013


Fix bug in parsing prepared statements with transaction handling in replication mode reported in [pgpool-general: 1877].

Parse() automatically starts a transaction for non SELEC query to keep
consistency among nodes in replication mode. But it does not set
allow_close_transaction variable. If wrong query comes in, the
transaction goes into an abort state but pgpool does not close the
transaction. Thus next query causes error because the transaction is
still in abort status.

Branch
------
V3_1_STABLE

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

Modified Files
--------------
pool_proto_modules.c |    3 +++
1 file changed, 3 insertions(+)



More information about the pgpool-committers mailing list