Fix is_set_transaction_serializable() when
authorpengbo <pengbo@sraoss.co.jp>
Mon, 9 May 2016 05:50:45 +0000 (14:50 +0900)
committerpengbo <pengbo@sraoss.co.jp>
Mon, 9 May 2016 05:50:45 +0000 (14:50 +0900)
commit9a09fdc8fe9ec9afd58fafb34ffa6450bf1d783d
treeca4b91968adfefbaaf2f503acbf8828a9ec89780
parenteeb0835830bad6e0b63fa20ac22360012dc41fcc
Fix is_set_transaction_serializable() when
SET default_transaction_isolation TO 'serializable'.

SET default_transaction_isolation TO 'serializable' is sent to
not only primary but also to standby server in streaming replication mode,
and this causes an error. Fix is, in streaming replication mode,
SET default_transaction_isolation TO 'serializable' is sent only to the
primary server.

See bug 191 for related info.
pool_query_context.c