[pgpool-committers: 5992] pgpool: Fix test failure of extended-query-test/disable-load-balance-al

Tatsuo Ishii ishii at sraoss.co.jp
Sun Aug 11 11:43:08 JST 2019


Fix test failure of extended-query-test/disable-load-balance-always.

It expected the first SELECT to be sent to load balance node but a
preceding write query (DROP/CREATE TABLE) prevented it because it set
the writing_transaction flag. Fix is, instead of issuing DROP/CREATE
TABLE before the SELECT, issue harmless SET command after the SELECT
in extended query mode.

Branch
------
master

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

Modified Files
--------------
.../expected/disable-load-balance-always.data      | 17 ++---------------
.../tests/disable-load-balance-always.data         | 22 ++++------------------
2 files changed, 6 insertions(+), 33 deletions(-)



More information about the pgpool-committers mailing list