Debian Codegraph @

src/test/isolation/expected/simple-write-skew.out

raw
1 Parsed test spec with 2 sessions
2
3 starting permutation: rwx1 c1 rwx2 c2
4 step rwx1: UPDATE test SET t = 'apple' WHERE t = 'pear';
5 step c1: COMMIT;
6 step rwx2: UPDATE test SET t = 'pear' WHERE t = 'apple'
7 step c2: COMMIT;
8
9 starting permutation: rwx1 rwx2 c1 c2
10 step rwx1: UPDATE test SET t = 'apple' WHERE t = 'pear';
11 step rwx2: UPDATE test SET t = 'pear' WHERE t = 'apple'
12 step c1: COMMIT;
13 step c2: COMMIT;
14 ERROR: could not serialize access due to read/write dependencies among transactions
15
16 starting permutation: rwx1 rwx2 c2 c1
17 step rwx1: UPDATE test SET t = 'apple' WHERE t = 'pear';
18 step rwx2: UPDATE test SET t = 'pear' WHERE t = 'apple'
19 step c2: COMMIT;
20 step c1: COMMIT;
21 ERROR: could not serialize access due to read/write dependencies among transactions
22
23 starting permutation: rwx2 rwx1 c1 c2
24 step rwx2: UPDATE test SET t = 'pear' WHERE t = 'apple'
25 step rwx1: UPDATE test SET t = 'apple' WHERE t = 'pear';
26 step c1: COMMIT;
27 step c2: COMMIT;
28 ERROR: could not serialize access due to read/write dependencies among transactions
29
30 starting permutation: rwx2 rwx1 c2 c1
31 step rwx2: UPDATE test SET t = 'pear' WHERE t = 'apple'
32 step rwx1: UPDATE test SET t = 'apple' WHERE t = 'pear';
33 step c2: COMMIT;
34 step c1: COMMIT;
35 ERROR: could not serialize access due to read/write dependencies among transactions
36
37 starting permutation: rwx2 c2 rwx1 c1
38 step rwx2: UPDATE test SET t = 'pear' WHERE t = 'apple'
39 step c2: COMMIT;
40 step rwx1: UPDATE test SET t = 'apple' WHERE t = 'pear';
41 step c1: COMMIT;