Debian Codegraph @

src/test/isolation/expected/predicate-lock-hot-tuple.out

raw
1 Parsed test spec with 2 sessions
2
3 starting permutation: b1 b2 r1 r2 w1 w2 c1 c2
4 step b1: BEGIN ISOLATION LEVEL SERIALIZABLE;
5 step b2: BEGIN ISOLATION LEVEL SERIALIZABLE;
6 step r1: SELECT * FROM test WHERE i IN (5, 7)
7 i|t
8 -+----------------
9 5|apple
10 7|pear_hot_updated
11 (2 rows)
12
13 step r2: SELECT * FROM test WHERE i IN (5, 7)
14 i|t
15 -+----------------
16 5|apple
17 7|pear_hot_updated
18 (2 rows)
19
20 step w1: UPDATE test SET t = 'pear_xact1' WHERE i = 7
21 step w2: UPDATE test SET t = 'apple_xact2' WHERE i = 5
22 step c1: COMMIT;
23 step c2: COMMIT;
24 ERROR: could not serialize access due to read/write dependencies among transactions