mirror of https://github.com/citusdata/citus.git
Fix code formatting and change test result
parent
07ed6c2ed4
commit
d977b376bb
|
@ -149,11 +149,11 @@ SELECT current_setting('transaction_isolation') FROM test WHERE id = 1;
|
||||||
(1 row)
|
(1 row)
|
||||||
|
|
||||||
END;
|
END;
|
||||||
-- SET is not propagated and plain SELECT does not use transaction blocks
|
-- SET is propagated due plain SELECT uses transaction blocks in repeatable read level
|
||||||
SELECT DISTINCT current_setting('transaction_isolation') FROM test;
|
SELECT DISTINCT current_setting('transaction_isolation') FROM test;
|
||||||
current_setting
|
current_setting
|
||||||
---------------------------------------------------------------------
|
---------------------------------------------------------------------
|
||||||
read committed
|
repeatable read
|
||||||
(1 row)
|
(1 row)
|
||||||
|
|
||||||
-- the CTE will trigger transaction blocks
|
-- the CTE will trigger transaction blocks
|
||||||
|
|
|
@ -84,7 +84,7 @@ BEGIN;
|
||||||
SELECT current_setting('transaction_isolation') FROM test WHERE id = 1;
|
SELECT current_setting('transaction_isolation') FROM test WHERE id = 1;
|
||||||
END;
|
END;
|
||||||
|
|
||||||
-- SET is not propagated and plain SELECT does not use transaction blocks
|
-- SET is propagated due plain SELECT uses transaction blocks in repeatable read level
|
||||||
SELECT DISTINCT current_setting('transaction_isolation') FROM test;
|
SELECT DISTINCT current_setting('transaction_isolation') FROM test;
|
||||||
|
|
||||||
-- the CTE will trigger transaction blocks
|
-- the CTE will trigger transaction blocks
|
||||||
|
|
Loading…
Reference in New Issue