Debian Codegraph @

src/test/isolation/expected/truncate-conflict.out

raw
1 Parsed test spec with 2 sessions
2
3 starting permutation: s1_begin s1_tab_lookup s2_auth s2_truncate s1_commit s2_reset
4 step s1_begin: BEGIN;
5 step s1_tab_lookup: SELECT count(*) >= 0 FROM truncate_tab;
6 ?column?
7 --------
8 t
9 (1 row)
10
11 step s2_auth: SET ROLE regress_truncate_conflict;
12 step s2_truncate: TRUNCATE truncate_tab;
13 ERROR: permission denied for table truncate_tab
14 step s1_commit: COMMIT;
15 step s2_reset: RESET ROLE;
16
17 starting permutation: s1_begin s2_auth s2_truncate s1_tab_lookup s1_commit s2_reset
18 step s1_begin: BEGIN;
19 step s2_auth: SET ROLE regress_truncate_conflict;
20 step s2_truncate: TRUNCATE truncate_tab;
21 ERROR: permission denied for table truncate_tab
22 step s1_tab_lookup: SELECT count(*) >= 0 FROM truncate_tab;
23 ?column?
24 --------
25 t
26 (1 row)
27
28 step s1_commit: COMMIT;
29 step s2_reset: RESET ROLE;
30
31 starting permutation: s1_begin s2_auth s1_tab_lookup s2_truncate s1_commit s2_reset
32 step s1_begin: BEGIN;
33 step s2_auth: SET ROLE regress_truncate_conflict;
34 step s1_tab_lookup: SELECT count(*) >= 0 FROM truncate_tab;
35 ?column?
36 --------
37 t
38 (1 row)
39
40 step s2_truncate: TRUNCATE truncate_tab;
41 ERROR: permission denied for table truncate_tab
42 step s1_commit: COMMIT;
43 step s2_reset: RESET ROLE;
44
45 starting permutation: s2_auth s2_truncate s1_begin s1_tab_lookup s1_commit s2_reset
46 step s2_auth: SET ROLE regress_truncate_conflict;
47 step s2_truncate: TRUNCATE truncate_tab;
48 ERROR: permission denied for table truncate_tab
49 step s1_begin: BEGIN;
50 step s1_tab_lookup: SELECT count(*) >= 0 FROM truncate_tab;
51 ?column?
52 --------
53 t
54 (1 row)
55
56 step s1_commit: COMMIT;
57 step s2_reset: RESET ROLE;
58
59 starting permutation: s1_begin s1_tab_lookup s2_grant s2_auth s2_truncate s1_commit s2_reset
60 step s1_begin: BEGIN;
61 step s1_tab_lookup: SELECT count(*) >= 0 FROM truncate_tab;
62 ?column?
63 --------
64 t
65 (1 row)
66
67 step s2_grant: GRANT TRUNCATE ON truncate_tab TO regress_truncate_conflict;
68 step s2_auth: SET ROLE regress_truncate_conflict;
69 step s2_truncate: TRUNCATE truncate_tab; <waiting ...>
70 step s1_commit: COMMIT;
71 step s2_truncate: <... completed>
72 step s2_reset: RESET ROLE;
73
74 starting permutation: s1_begin s2_grant s2_auth s2_truncate s1_tab_lookup s1_commit s2_reset
75 step s1_begin: BEGIN;
76 step s2_grant: GRANT TRUNCATE ON truncate_tab TO regress_truncate_conflict;
77 step s2_auth: SET ROLE regress_truncate_conflict;
78 step s2_truncate: TRUNCATE truncate_tab;
79 step s1_tab_lookup: SELECT count(*) >= 0 FROM truncate_tab;
80 ?column?
81 --------
82 t
83 (1 row)
84
85 step s1_commit: COMMIT;
86 step s2_reset: RESET ROLE;
87
88 starting permutation: s1_begin s2_grant s2_auth s1_tab_lookup s2_truncate s1_commit s2_reset
89 step s1_begin: BEGIN;
90 step s2_grant: GRANT TRUNCATE ON truncate_tab TO regress_truncate_conflict;
91 step s2_auth: SET ROLE regress_truncate_conflict;
92 step s1_tab_lookup: SELECT count(*) >= 0 FROM truncate_tab;
93 ?column?
94 --------
95 t
96 (1 row)
97
98 step s2_truncate: TRUNCATE truncate_tab; <waiting ...>
99 step s1_commit: COMMIT;
100 step s2_truncate: <... completed>
101 step s2_reset: RESET ROLE;
102
103 starting permutation: s2_grant s2_auth s2_truncate s1_begin s1_tab_lookup s1_commit s2_reset
104 step s2_grant: GRANT TRUNCATE ON truncate_tab TO regress_truncate_conflict;
105 step s2_auth: SET ROLE regress_truncate_conflict;
106 step s2_truncate: TRUNCATE truncate_tab;
107 step s1_begin: BEGIN;
108 step s1_tab_lookup: SELECT count(*) >= 0 FROM truncate_tab;
109 ?column?
110 --------
111 t
112 (1 row)
113
114 step s1_commit: COMMIT;
115 step s2_reset: RESET ROLE;