Fix is_set_transaction_serializable() when
authorpengbo <pengbo@sraoss.co.jp>
Mon, 9 May 2016 05:58:49 +0000 (14:58 +0900)
committerpengbo <pengbo@sraoss.co.jp>
Mon, 9 May 2016 05:58:49 +0000 (14:58 +0900)
commit1373ab12361a51aa12e77a8fcbb9173339b16eaa
treee07e061e53687851cfc454bae50e555fc31dc093
parenta91b2bd428cf61d083dd52f0c78dfe6c21ce897c
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