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

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

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



More information about the pgpool-committers mailing list