Debian Codegraph @

src/test/isolation/expected/fk-partitioned-2.out

raw
1 Parsed test spec with 2 sessions
2
3 starting permutation: s1b s1d s2b s2i s1c s2c
4 step s1b: begin;
5 step s1d: delete from ppk where a = 1;
6 step s2b: begin;
7 step s2i: insert into pfk values (1); <waiting ...>
8 step s1c: commit;
9 step s2i: <... completed>
10 ERROR: insert or update on table "pfk1" violates foreign key constraint "pfk_a_fkey"
11 step s2c: commit;
12
13 starting permutation: s1b s1d s2bs s2i s1c s2c
14 step s1b: begin;
15 step s1d: delete from ppk where a = 1;
16 step s2bs: begin isolation level serializable; select 1;
17 ?column?
18 --------
19 1
20 (1 row)
21
22 step s2i: insert into pfk values (1); <waiting ...>
23 step s1c: commit;
24 step s2i: <... completed>
25 ERROR: could not serialize access due to concurrent update
26 step s2c: commit;
27
28 starting permutation: s1b s2b s1d s2i s1c s2c
29 step s1b: begin;
30 step s2b: begin;
31 step s1d: delete from ppk where a = 1;
32 step s2i: insert into pfk values (1); <waiting ...>
33 step s1c: commit;
34 step s2i: <... completed>
35 ERROR: insert or update on table "pfk1" violates foreign key constraint "pfk_a_fkey"
36 step s2c: commit;
37
38 starting permutation: s1b s2bs s1d s2i s1c s2c
39 step s1b: begin;
40 step s2bs: begin isolation level serializable; select 1;
41 ?column?
42 --------
43 1
44 (1 row)
45
46 step s1d: delete from ppk where a = 1;
47 step s2i: insert into pfk values (1); <waiting ...>
48 step s1c: commit;
49 step s2i: <... completed>
50 ERROR: could not serialize access due to concurrent update
51 step s2c: commit;
52
53 starting permutation: s1b s2b s2i s1d s2c s1c
54 step s1b: begin;
55 step s2b: begin;
56 step s2i: insert into pfk values (1);
57 step s1d: delete from ppk where a = 1; <waiting ...>
58 step s2c: commit;
59 step s1d: <... completed>
60 ERROR: update or delete on table "ppk1" violates foreign key constraint "pfk_a_fkey_1" on table "pfk"
61 step s1c: commit;
62
63 starting permutation: s1b s2bs s2i s1d s2c s1c
64 step s1b: begin;
65 step s2bs: begin isolation level serializable; select 1;
66 ?column?
67 --------
68 1
69 (1 row)
70
71 step s2i: insert into pfk values (1);
72 step s1d: delete from ppk where a = 1; <waiting ...>
73 step s2c: commit;
74 step s1d: <... completed>
75 ERROR: update or delete on table "ppk1" violates foreign key constraint "pfk_a_fkey_1" on table "pfk"
76 step s1c: commit;