Debian Codegraph @

src/test/isolation/expected/partition-key-update-2.out

raw
1 Parsed test spec with 3 sessions
2
3 starting permutation: s1u s2donothing s3donothing s1c s2c s3select s3c
4 step s1u: UPDATE foo SET a=2, b=b || ' -> moved by session-1' WHERE a=1;
5 step s2donothing: INSERT INTO foo VALUES(1, 'session-2 donothing') ON CONFLICT DO NOTHING; <waiting ...>
6 step s3donothing: INSERT INTO foo VALUES(2, 'session-3 donothing') ON CONFLICT DO NOTHING; <waiting ...>
7 step s1c: COMMIT;
8 step s2donothing: <... completed>
9 step s3donothing: <... completed>
10 step s2c: COMMIT;
11 step s3select: SELECT * FROM foo ORDER BY a;
12 a|b
13 -+-----------------------------------
14 1|session-2 donothing
15 2|initial tuple -> moved by session-1
16 (2 rows)
17
18 step s3c: COMMIT;
19
20 starting permutation: s2donothing s1u s3donothing s1c s2c s3select s3c
21 step s2donothing: INSERT INTO foo VALUES(1, 'session-2 donothing') ON CONFLICT DO NOTHING;
22 step s1u: UPDATE foo SET a=2, b=b || ' -> moved by session-1' WHERE a=1;
23 step s3donothing: INSERT INTO foo VALUES(2, 'session-3 donothing') ON CONFLICT DO NOTHING; <waiting ...>
24 step s1c: COMMIT;
25 step s3donothing: <... completed>
26 step s2c: COMMIT;
27 step s3select: SELECT * FROM foo ORDER BY a;
28 a|b
29 -+-----------------------------------
30 2|initial tuple -> moved by session-1
31 (1 row)
32
33 step s3c: COMMIT;