[pgpool-committers: 1181] 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
------
master

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

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



More information about the pgpool-committers mailing list