[pgpool-committers: 4727] pgpool: Do not set writing tx flag with SET TRANSACTION READ ONLY.

Tatsuo Ishii ishii at postgresql.org
Thu May 24 11:14:26 JST 2018


Do not set writing tx flag with SET TRANSACTION READ ONLY.

In extended query mode, execute() sets the flag upon completion of
writing queries.  However the flag was set even when SET TRANSACTION
READ ONLY is issued.  Fix this by using
pool_is_transaction_read_only(). This has been already done in simple
query case.

Branch
------
V3_5_STABLE

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

Modified Files
--------------
src/protocol/pool_proto_modules.c | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)



More information about the pgpool-committers mailing list