[pgpool-committers: 4729] 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_7_STABLE

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

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



More information about the pgpool-committers mailing list