Debian Codegraph @

src/test/isolation/expected/detach-partition-concurrently-1.out

raw
1 Parsed test spec with 3 sessions
2
3 starting permutation: s1b s1s s2detach s1s s1c s1s
4 step s1b: BEGIN;
5 step s1s: SELECT * FROM d_listp;
6 a
7 -
8 1
9 2
10 (2 rows)
11
12 step s2detach: ALTER TABLE d_listp DETACH PARTITION d_listp2 CONCURRENTLY; <waiting ...>
13 step s1s: SELECT * FROM d_listp;
14 a
15 -
16 1
17 (1 row)
18
19 step s1c: COMMIT;
20 step s2detach: <... completed>
21 step s1s: SELECT * FROM d_listp;
22 a
23 -
24 1
25 (1 row)
26
27
28 starting permutation: s1b s1s s2detach s1s s3s s3i s1c s3i s2drop s1s
29 step s1b: BEGIN;
30 step s1s: SELECT * FROM d_listp;
31 a
32 -
33 1
34 2
35 (2 rows)
36
37 step s2detach: ALTER TABLE d_listp DETACH PARTITION d_listp2 CONCURRENTLY; <waiting ...>
38 step s1s: SELECT * FROM d_listp;
39 a
40 -
41 1
42 (1 row)
43
44 step s3s: SELECT * FROM d_listp;
45 a
46 -
47 1
48 (1 row)
49
50 step s3i: SELECT relpartbound IS NULL FROM pg_class where relname = 'd_listp2';
51 ?column?
52 --------
53 f
54 (1 row)
55
56 step s1c: COMMIT;
57 step s2detach: <... completed>
58 step s3i: SELECT relpartbound IS NULL FROM pg_class where relname = 'd_listp2';
59 ?column?
60 --------
61 t
62 (1 row)
63
64 step s2drop: DROP TABLE d_listp2;
65 step s1s: SELECT * FROM d_listp;
66 a
67 -
68 1
69 (1 row)
70
71
72 starting permutation: s1b s1s s2detach s1ins s1s s1c
73 step s1b: BEGIN;
74 step s1s: SELECT * FROM d_listp;
75 a
76 -
77 1
78 2
79 (2 rows)
80
81 step s2detach: ALTER TABLE d_listp DETACH PARTITION d_listp2 CONCURRENTLY; <waiting ...>
82 step s1ins: INSERT INTO d_listp VALUES (1);
83 step s1s: SELECT * FROM d_listp;
84 a
85 -
86 1
87 1
88 (2 rows)
89
90 step s1c: COMMIT;
91 step s2detach: <... completed>
92
93 starting permutation: s1b s1s s1ins2 s2detach s1ins s1s s1c
94 step s1b: BEGIN;
95 step s1s: SELECT * FROM d_listp;
96 a
97 -
98 1
99 2
100 (2 rows)
101
102 step s1ins2: INSERT INTO d_listp VALUES (2);
103 step s2detach: ALTER TABLE d_listp DETACH PARTITION d_listp2 CONCURRENTLY; <waiting ...>
104 step s1ins: INSERT INTO d_listp VALUES (1);
105 step s1s: SELECT * FROM d_listp;
106 a
107 -
108 1
109 1
110 (2 rows)
111
112 step s1c: COMMIT;
113 step s2detach: <... completed>
114
115 starting permutation: s1brr s1s s2detach s1ins s1s s1c
116 step s1brr: BEGIN ISOLATION LEVEL REPEATABLE READ;
117 step s1s: SELECT * FROM d_listp;
118 a
119 -
120 1
121 2
122 (2 rows)
123
124 step s2detach: ALTER TABLE d_listp DETACH PARTITION d_listp2 CONCURRENTLY; <waiting ...>
125 step s1ins: INSERT INTO d_listp VALUES (1);
126 step s1s: SELECT * FROM d_listp;
127 a
128 -
129 1
130 1
131 2
132 (3 rows)
133
134 step s1c: COMMIT;
135 step s2detach: <... completed>
136
137 starting permutation: s1brr s1s s2detach s1s s1c
138 step s1brr: BEGIN ISOLATION LEVEL REPEATABLE READ;
139 step s1s: SELECT * FROM d_listp;
140 a
141 -
142 1
143 2
144 (2 rows)
145
146 step s2detach: ALTER TABLE d_listp DETACH PARTITION d_listp2 CONCURRENTLY; <waiting ...>
147 step s1s: SELECT * FROM d_listp;
148 a
149 -
150 1
151 2
152 (2 rows)
153
154 step s1c: COMMIT;
155 step s2detach: <... completed>
156
157 starting permutation: s1b s1ins2 s2detach s3ins2 s1c
158 step s1b: BEGIN;
159 step s1ins2: INSERT INTO d_listp VALUES (2);
160 step s2detach: ALTER TABLE d_listp DETACH PARTITION d_listp2 CONCURRENTLY; <waiting ...>
161 step s3ins2: INSERT INTO d_listp VALUES (2);
162 ERROR: no partition of relation "d_listp" found for row
163 step s1c: COMMIT;
164 step s2detach: <... completed>
165
166 starting permutation: s1brr s1prep s1s s2detach s1s s1exec1 s3s s1dealloc s1c
167 step s1brr: BEGIN ISOLATION LEVEL REPEATABLE READ;
168 step s1prep: PREPARE f(int) AS INSERT INTO d_listp VALUES ($1);
169 step s1s: SELECT * FROM d_listp;
170 a
171 -
172 1
173 2
174 (2 rows)
175
176 step s2detach: ALTER TABLE d_listp DETACH PARTITION d_listp2 CONCURRENTLY; <waiting ...>
177 step s1s: SELECT * FROM d_listp;
178 a
179 -
180 1
181 2
182 (2 rows)
183
184 step s1exec1: EXECUTE f(1);
185 step s3s: SELECT * FROM d_listp;
186 a
187 -
188 1
189 (1 row)
190
191 step s1dealloc: DEALLOCATE f;
192 step s1c: COMMIT;
193 step s2detach: <... completed>
194
195 starting permutation: s1brr s1prep s1exec2 s2detach s1s s1exec2 s3s s1c s1dealloc
196 step s1brr: BEGIN ISOLATION LEVEL REPEATABLE READ;
197 step s1prep: PREPARE f(int) AS INSERT INTO d_listp VALUES ($1);
198 step s1exec2: EXECUTE f(2);
199 step s2detach: ALTER TABLE d_listp DETACH PARTITION d_listp2 CONCURRENTLY; <waiting ...>
200 step s1s: SELECT * FROM d_listp;
201 a
202 -
203 1
204 2
205 2
206 (3 rows)
207
208 step s1exec2: EXECUTE f(2);
209 step s3s: SELECT * FROM d_listp;
210 a
211 -
212 1
213 (1 row)
214
215 step s1c: COMMIT;
216 step s2detach: <... completed>
217 step s1dealloc: DEALLOCATE f;
218
219 starting permutation: s1brr s1prep s1s s2detach s1s s1exec2 s1c s1dealloc
220 step s1brr: BEGIN ISOLATION LEVEL REPEATABLE READ;
221 step s1prep: PREPARE f(int) AS INSERT INTO d_listp VALUES ($1);
222 step s1s: SELECT * FROM d_listp;
223 a
224 -
225 1
226 2
227 (2 rows)
228
229 step s2detach: ALTER TABLE d_listp DETACH PARTITION d_listp2 CONCURRENTLY; <waiting ...>
230 step s1s: SELECT * FROM d_listp;
231 a
232 -
233 1
234 2
235 (2 rows)
236
237 step s1exec2: EXECUTE f(2);
238 step s1c: COMMIT;
239 step s2detach: <... completed>
240 step s1dealloc: DEALLOCATE f;
241
242 starting permutation: s1brr s1prep s2detach s1s s1exec2 s1c s1dealloc
243 step s1brr: BEGIN ISOLATION LEVEL REPEATABLE READ;
244 step s1prep: PREPARE f(int) AS INSERT INTO d_listp VALUES ($1);
245 step s2detach: ALTER TABLE d_listp DETACH PARTITION d_listp2 CONCURRENTLY; <waiting ...>
246 step s1s: SELECT * FROM d_listp;
247 a
248 -
249 1
250 2
251 (2 rows)
252
253 step s1exec2: EXECUTE f(2);
254 step s1c: COMMIT;
255 step s2detach: <... completed>
256 step s1dealloc: DEALLOCATE f;
257
258 starting permutation: s1brr s1prep1 s2detach s1s s1exec2 s1c s1dealloc
259 step s1brr: BEGIN ISOLATION LEVEL REPEATABLE READ;
260 step s1prep1: PREPARE f(int) AS INSERT INTO d_listp VALUES (1);
261 step s2detach: ALTER TABLE d_listp DETACH PARTITION d_listp2 CONCURRENTLY; <waiting ...>
262 step s1s: SELECT * FROM d_listp;
263 a
264 -
265 1
266 2
267 (2 rows)
268
269 step s1exec2: EXECUTE f(2);
270 step s1c: COMMIT;
271 step s2detach: <... completed>
272 step s1dealloc: DEALLOCATE f;
273
274 starting permutation: s1brr s1prep2 s2detach s1s s1exec2 s1c s1dealloc
275 step s1brr: BEGIN ISOLATION LEVEL REPEATABLE READ;
276 step s1prep2: PREPARE f(int) AS INSERT INTO d_listp VALUES (2);
277 step s2detach: ALTER TABLE d_listp DETACH PARTITION d_listp2 CONCURRENTLY; <waiting ...>
278 step s1s: SELECT * FROM d_listp;
279 a
280 -
281 1
282 2
283 (2 rows)
284
285 step s1exec2: EXECUTE f(2);
286 step s1c: COMMIT;
287 step s2detach: <... completed>
288 step s1dealloc: DEALLOCATE f;