Debian Codegraph @

src/test/isolation/expected/insert-conflict-do-nothing.out

raw
1 Parsed test spec with 2 sessions
2
3 starting permutation: donothing1 donothing2 c1 select2 c2
4 step donothing1: INSERT INTO ints(key, val) VALUES(1, 'donothing1') ON CONFLICT DO NOTHING;
5 step donothing2: INSERT INTO ints(key, val) VALUES(1, 'donothing2') ON CONFLICT DO NOTHING; <waiting ...>
6 step c1: COMMIT;
7 step donothing2: <... completed>
8 step select2: SELECT * FROM ints;
9 key|val
10 ---+----------
11 1|donothing1
12 (1 row)
13
14 step c2: COMMIT;
15
16 starting permutation: donothing1 donothing2 a1 select2 c2
17 step donothing1: INSERT INTO ints(key, val) VALUES(1, 'donothing1') ON CONFLICT DO NOTHING;
18 step donothing2: INSERT INTO ints(key, val) VALUES(1, 'donothing2') ON CONFLICT DO NOTHING; <waiting ...>
19 step a1: ABORT;
20 step donothing2: <... completed>
21 step select2: SELECT * FROM ints;
22 key|val
23 ---+----------
24 1|donothing2
25 (1 row)
26
27 step c2: COMMIT;