Debian Codegraph @

src/test/isolation/expected/propagate-lock-delete.out

raw
1 Parsed test spec with 3 sessions
2
3 starting permutation: s1b s1l s2b s2l s3b s3u s3d s1c s2c s3c
4 step s1b: BEGIN;
5 step s1l: INSERT INTO child VALUES (1);
6 step s2b: BEGIN;
7 step s2l: INSERT INTO child VALUES (1);
8 step s3b: BEGIN;
9 step s3u: UPDATE parent SET c=lower(c);
10 step s3d: DELETE FROM parent; <waiting ...>
11 step s1c: COMMIT;
12 step s2c: COMMIT;
13 step s3d: <... completed>
14 ERROR: update or delete on table "parent" violates foreign key constraint "child_i_fkey" on table "child"
15 step s3c: COMMIT;
16
17 starting permutation: s1b s1l s2b s2l s3b s3u s3svu s3d s1c s2c s3c
18 step s1b: BEGIN;
19 step s1l: INSERT INTO child VALUES (1);
20 step s2b: BEGIN;
21 step s2l: INSERT INTO child VALUES (1);
22 step s3b: BEGIN;
23 step s3u: UPDATE parent SET c=lower(c);
24 step s3svu: SAVEPOINT f; UPDATE parent SET c = 'bbb'; ROLLBACK TO f;
25 step s3d: DELETE FROM parent; <waiting ...>
26 step s1c: COMMIT;
27 step s2c: COMMIT;
28 step s3d: <... completed>
29 ERROR: update or delete on table "parent" violates foreign key constraint "child_i_fkey" on table "child"
30 step s3c: COMMIT;
31
32 starting permutation: s1b s1l s2b s2l s3b s3u2 s3d s1c s2c s3c
33 step s1b: BEGIN;
34 step s1l: INSERT INTO child VALUES (1);
35 step s2b: BEGIN;
36 step s2l: INSERT INTO child VALUES (1);
37 step s3b: BEGIN;
38 step s3u2: UPDATE parent SET i = i;
39 step s3d: DELETE FROM parent; <waiting ...>
40 step s1c: COMMIT;
41 step s2c: COMMIT;
42 step s3d: <... completed>
43 ERROR: update or delete on table "parent" violates foreign key constraint "child_i_fkey" on table "child"
44 step s3c: COMMIT;
45
46 starting permutation: s1b s1l s2b s2l s3b s3u2 s3svu s3d s1c s2c s3c
47 step s1b: BEGIN;
48 step s1l: INSERT INTO child VALUES (1);
49 step s2b: BEGIN;
50 step s2l: INSERT INTO child VALUES (1);
51 step s3b: BEGIN;
52 step s3u2: UPDATE parent SET i = i;
53 step s3svu: SAVEPOINT f; UPDATE parent SET c = 'bbb'; ROLLBACK TO f;
54 step s3d: DELETE FROM parent; <waiting ...>
55 step s1c: COMMIT;
56 step s2c: COMMIT;
57 step s3d: <... completed>
58 ERROR: update or delete on table "parent" violates foreign key constraint "child_i_fkey" on table "child"
59 step s3c: COMMIT;
60
61 starting permutation: s1b s1l s3b s3u s3d s1c s3c
62 step s1b: BEGIN;
63 step s1l: INSERT INTO child VALUES (1);
64 step s3b: BEGIN;
65 step s3u: UPDATE parent SET c=lower(c);
66 step s3d: DELETE FROM parent; <waiting ...>
67 step s1c: COMMIT;
68 step s3d: <... completed>
69 ERROR: update or delete on table "parent" violates foreign key constraint "child_i_fkey" on table "child"
70 step s3c: COMMIT;
71
72 starting permutation: s1b s1l s3b s3u s3svu s3d s1c s3c
73 step s1b: BEGIN;
74 step s1l: INSERT INTO child VALUES (1);
75 step s3b: BEGIN;
76 step s3u: UPDATE parent SET c=lower(c);
77 step s3svu: SAVEPOINT f; UPDATE parent SET c = 'bbb'; ROLLBACK TO f;
78 step s3d: DELETE FROM parent; <waiting ...>
79 step s1c: COMMIT;
80 step s3d: <... completed>
81 ERROR: update or delete on table "parent" violates foreign key constraint "child_i_fkey" on table "child"
82 step s3c: COMMIT;
83
84 starting permutation: s1b s1l s3b s3u2 s3d s1c s3c
85 step s1b: BEGIN;
86 step s1l: INSERT INTO child VALUES (1);
87 step s3b: BEGIN;
88 step s3u2: UPDATE parent SET i = i;
89 step s3d: DELETE FROM parent; <waiting ...>
90 step s1c: COMMIT;
91 step s3d: <... completed>
92 ERROR: update or delete on table "parent" violates foreign key constraint "child_i_fkey" on table "child"
93 step s3c: COMMIT;
94
95 starting permutation: s1b s1l s3b s3u2 s3svu s3d s1c s3c
96 step s1b: BEGIN;
97 step s1l: INSERT INTO child VALUES (1);
98 step s3b: BEGIN;
99 step s3u2: UPDATE parent SET i = i;
100 step s3svu: SAVEPOINT f; UPDATE parent SET c = 'bbb'; ROLLBACK TO f;
101 step s3d: DELETE FROM parent; <waiting ...>
102 step s1c: COMMIT;
103 step s3d: <... completed>
104 ERROR: update or delete on table "parent" violates foreign key constraint "child_i_fkey" on table "child"
105 step s3c: COMMIT;