It expected the first BIND/EXECUTE was sent to load balance node. This
is not correct since previous parse message was sent to primary node
because of parse_before_bind treatment. Fix is, just adjust the test
script. Also fix comment in tests/disable-load-balance-default.data.
# expected results: Parse: 1 Parse: 0 Execute: 0 Parse: 0 Execute: 0
# Parse: 1 Execute: 1 Parse: 1 Execute: 1 Parse: 1 Execute: 1
-set 1 0 0 0 0 1 1 1 1 1
+set 1 0 0 0 0 1 1 0 1 1
grep "SELECT" $PGPOOLLOG | grep -v version |awk '{print $9}' | while read node
do
'B' "" "" 0 0 0
'E' "" 0
-# Issue Bind/Execute SELECT. This should be sent to node 1 because
-# disable_load_balance_on_write = 'transaction'.
+# Issue Bind/Execute SELECT. This should be sent to node 0 despite
+# disable_load_balance_on_write = 'transaction' because previous prase
+# messge was sent to primary node which was done by parse_before_bind.
'B' "" "S1" 0 0 0
'E' "" 0