1
1
Parsed test spec with 3 sessions
2
2
3
- starting permutation: s2snitch s1b s1s s2detach s1cancel s1insert s1c
3
+ starting permutation: s2snitch s1b s1s s2detach s1cancel s2noop s1insert s1c
4
4
step s2snitch: insert into d4_pid select pg_backend_pid();
5
5
step s1b: begin;
6
6
step s1s: select * from d4_primary;
9
9
1
10
10
2
11
11
step s2detach: alter table d4_primary detach partition d4_primary1 concurrently; <waiting ...>
12
- step s1cancel: select pg_cancel_backend(pid) from d4_pid;
13
- pg_cancel_backend
12
+ step s1cancel: select pg_cancel_backend(pid), pg_sleep(0.1) from d4_pid;
13
+ pg_cancel_backendpg_sleep
14
14
15
- t
15
+ t
16
16
step s2detach: <... completed>
17
17
error in steps s1cancel s2detach: ERROR: canceling statement due to user request
18
+ step s2noop: UNLISTEN noop;
18
19
step s1insert: insert into d4_fk values (1);
19
20
ERROR: insert or update on table "d4_fk" violates foreign key constraint "d4_fk_a_fkey"
20
21
step s1c: commit;
@@ -33,7 +34,7 @@ step s2detach: <... completed>
33
34
error in steps s1insert s2detach: ERROR: insert or update on table "d4_fk" violates foreign key constraint "d4_fk_a_fkey"
34
35
step s1c: commit;
35
36
36
- starting permutation: s2snitch s1brr s1s s2detach s1cancel s1insert s1c
37
+ starting permutation: s2snitch s1brr s1s s2detach s1cancel s2noop s1insert s1c
37
38
step s2snitch: insert into d4_pid select pg_backend_pid();
38
39
step s1brr: begin isolation level repeatable read;
39
40
step s1s: select * from d4_primary;
42
43
1
43
44
2
44
45
step s2detach: alter table d4_primary detach partition d4_primary1 concurrently; <waiting ...>
45
- step s1cancel: select pg_cancel_backend(pid) from d4_pid;
46
- pg_cancel_backend
46
+ step s1cancel: select pg_cancel_backend(pid), pg_sleep(0.1) from d4_pid;
47
+ pg_cancel_backendpg_sleep
47
48
48
- t
49
+ t
49
50
step s2detach: <... completed>
50
51
error in steps s1cancel s2detach: ERROR: canceling statement due to user request
52
+ step s2noop: UNLISTEN noop;
51
53
step s1insert: insert into d4_fk values (1);
52
54
ERROR: insert or update on table "d4_fk" violates foreign key constraint "d4_fk_a_fkey"
53
55
step s1c: commit;
@@ -66,17 +68,18 @@ step s2detach: <... completed>
66
68
error in steps s1insert s2detach: ERROR: insert or update on table "d4_fk" violates foreign key constraint "d4_fk_a_fkey"
67
69
step s1c: commit;
68
70
69
- starting permutation: s2snitch s1b s1declare s2detach s1cancel s1fetchall s1insert s1c
71
+ starting permutation: s2snitch s1b s1declare s2detach s1cancel s2noop s1fetchall s1insert s1c
70
72
step s2snitch: insert into d4_pid select pg_backend_pid();
71
73
step s1b: begin;
72
74
step s1declare: declare f cursor for select * from d4_primary;
73
75
step s2detach: alter table d4_primary detach partition d4_primary1 concurrently; <waiting ...>
74
- step s1cancel: select pg_cancel_backend(pid) from d4_pid;
75
- pg_cancel_backend
76
+ step s1cancel: select pg_cancel_backend(pid), pg_sleep(0.1) from d4_pid;
77
+ pg_cancel_backendpg_sleep
76
78
77
- t
79
+ t
78
80
step s2detach: <... completed>
79
81
error in steps s1cancel s2detach: ERROR: canceling statement due to user request
82
+ step s2noop: UNLISTEN noop;
80
83
step s1fetchall: fetch all from f;
81
84
a
82
85
@@ -101,17 +104,18 @@ step s2detach: <... completed>
101
104
error in steps s1insert s2detach: ERROR: insert or update on table "d4_fk" violates foreign key constraint "d4_fk_a_fkey"
102
105
step s1c: commit;
103
106
104
- starting permutation: s2snitch s1b s1declare s2detach s1cancel s1svpt s1insert s1rollback s1fetchall s1c
107
+ starting permutation: s2snitch s1b s1declare s2detach s1cancel s2noop s1svpt s1insert s1rollback s1fetchall s1c
105
108
step s2snitch: insert into d4_pid select pg_backend_pid();
106
109
step s1b: begin;
107
110
step s1declare: declare f cursor for select * from d4_primary;
108
111
step s2detach: alter table d4_primary detach partition d4_primary1 concurrently; <waiting ...>
109
- step s1cancel: select pg_cancel_backend(pid) from d4_pid;
110
- pg_cancel_backend
112
+ step s1cancel: select pg_cancel_backend(pid), pg_sleep(0.1) from d4_pid;
113
+ pg_cancel_backendpg_sleep
111
114
112
- t
115
+ t
113
116
step s2detach: <... completed>
114
117
error in steps s1cancel s2detach: ERROR: canceling statement due to user request
118
+ step s2noop: UNLISTEN noop;
115
119
step s1svpt: savepoint f;
116
120
step s1insert: insert into d4_fk values (1);
117
121
ERROR: insert or update on table "d4_fk" violates foreign key constraint "d4_fk_a_fkey"
140
144
step s1c: commit;
141
145
step s2detach: <... completed>
142
146
143
- starting permutation: s2snitch s1b s2detach s1declare s1cancel s1fetchall s1insert s1c
147
+ starting permutation: s2snitch s1b s2detach s1declare s1cancel s2noop s1fetchall s1insert s1c
144
148
step s2snitch: insert into d4_pid select pg_backend_pid();
145
149
step s1b: begin;
146
150
step s2detach: alter table d4_primary detach partition d4_primary1 concurrently;
147
151
step s1declare: declare f cursor for select * from d4_primary;
148
- step s1cancel: select pg_cancel_backend(pid) from d4_pid;
149
- pg_cancel_backend
152
+ step s1cancel: select pg_cancel_backend(pid), pg_sleep(0.1) from d4_pid;
153
+ pg_cancel_backendpg_sleep
150
154
151
- t
155
+ t
156
+ step s2noop: UNLISTEN noop;
152
157
step s1fetchall: fetch all from f;
153
158
a
154
159
@@ -170,15 +175,16 @@ step s1insert: insert into d4_fk values (1);
170
175
ERROR: insert or update on table "d4_fk" violates foreign key constraint "d4_fk_a_fkey"
171
176
step s1c: commit;
172
177
173
- starting permutation: s2snitch s1b s2detach s1declare s1cancel s1svpt s1insert s1rollback s1fetchall s1c
178
+ starting permutation: s2snitch s1b s2detach s1declare s1cancel s2noop s1svpt s1insert s1rollback s1fetchall s1c
174
179
step s2snitch: insert into d4_pid select pg_backend_pid();
175
180
step s1b: begin;
176
181
step s2detach: alter table d4_primary detach partition d4_primary1 concurrently;
177
182
step s1declare: declare f cursor for select * from d4_primary;
178
- step s1cancel: select pg_cancel_backend(pid) from d4_pid;
179
- pg_cancel_backend
183
+ step s1cancel: select pg_cancel_backend(pid), pg_sleep(0.1) from d4_pid;
184
+ pg_cancel_backendpg_sleep
180
185
181
- t
186
+ t
187
+ step s2noop: UNLISTEN noop;
182
188
step s1svpt: savepoint f;
183
189
step s1insert: insert into d4_fk values (1);
184
190
ERROR: insert or update on table "d4_fk" violates foreign key constraint "d4_fk_a_fkey"
204
210
2
205
211
step s1c: commit;
206
212
207
- starting permutation: s2snitch s1brr s1declare2 s1fetchone s2detach s1cancel s1updcur s1c
213
+ starting permutation: s2snitch s1brr s1declare2 s1fetchone s2detach s1cancel s2noop s1updcur s1c
208
214
step s2snitch: insert into d4_pid select pg_backend_pid();
209
215
step s1brr: begin isolation level repeatable read;
210
216
step s1declare2: declare f cursor for select * from d4_fk where a = 2;
213
219
214
220
2
215
221
step s2detach: alter table d4_primary detach partition d4_primary1 concurrently; <waiting ...>
216
- step s1cancel: select pg_cancel_backend(pid) from d4_pid;
217
- pg_cancel_backend
222
+ step s1cancel: select pg_cancel_backend(pid), pg_sleep(0.1) from d4_pid;
223
+ pg_cancel_backendpg_sleep
218
224
219
- t
225
+ t
220
226
step s2detach: <... completed>
221
227
error in steps s1cancel s2detach: ERROR: canceling statement due to user request
228
+ step s2noop: UNLISTEN noop;
222
229
step s1updcur: update d4_fk set a = 1 where current of f;
223
230
ERROR: insert or update on table "d4_fk" violates foreign key constraint "d4_fk_a_fkey"
224
231
step s1c: commit;
@@ -265,7 +272,7 @@ ERROR: insert or update on table "d4_fk" violates foreign key constraint "d4_fk
265
272
step s1c: commit;
266
273
step s2detach: <... completed>
267
274
268
- starting permutation: s2snitch s1b s1s s2detach s3brr s3insert s3commit s1cancel s1c
275
+ starting permutation: s2snitch s1b s1s s2detach s3brr s3insert s3commit s1cancel s2noop s1c
269
276
step s2snitch: insert into d4_pid select pg_backend_pid();
270
277
step s1b: begin;
271
278
step s1s: select * from d4_primary;
@@ -278,12 +285,13 @@ step s3brr: begin isolation level repeatable read;
278
285
step s3insert: insert into d4_fk values (1);
279
286
ERROR: insert or update on table "d4_fk" violates foreign key constraint "d4_fk_a_fkey"
280
287
step s3commit: commit;
281
- step s1cancel: select pg_cancel_backend(pid) from d4_pid;
282
- pg_cancel_backend
288
+ step s1cancel: select pg_cancel_backend(pid), pg_sleep(0.1) from d4_pid;
289
+ pg_cancel_backendpg_sleep
283
290
284
- t
291
+ t
285
292
step s2detach: <... completed>
286
293
error in steps s1cancel s2detach: ERROR: canceling statement due to user request
294
+ step s2noop: UNLISTEN noop;
287
295
step s1c: commit;
288
296
289
297
starting permutation: s2snitch s1b s1s s2detach s3brr s3insert s3commit s1c
@@ -302,7 +310,7 @@ step s3commit: commit;
302
310
step s1c: commit;
303
311
step s2detach: <... completed>
304
312
305
- starting permutation: s2snitch s1brr s1s s2detach s1cancel s3vacfreeze s1s s1insert s1c
313
+ starting permutation: s2snitch s1brr s1s s2detach s1cancel s2noop s3vacfreeze s1s s1insert s1c
306
314
step s2snitch: insert into d4_pid select pg_backend_pid();
307
315
step s1brr: begin isolation level repeatable read;
308
316
step s1s: select * from d4_primary;
311
319
1
312
320
2
313
321
step s2detach: alter table d4_primary detach partition d4_primary1 concurrently; <waiting ...>
314
- step s1cancel: select pg_cancel_backend(pid) from d4_pid;
315
- pg_cancel_backend
322
+ step s1cancel: select pg_cancel_backend(pid), pg_sleep(0.1) from d4_pid;
323
+ pg_cancel_backendpg_sleep
316
324
317
- t
325
+ t
318
326
step s2detach: <... completed>
319
327
error in steps s1cancel s2detach: ERROR: canceling statement due to user request
328
+ step s2noop: UNLISTEN noop;
320
329
step s3vacfreeze: vacuum freeze pg_catalog.pg_inherits;
321
330
step s1s: select * from d4_primary;
322
331
a
@@ -327,7 +336,7 @@ step s1insert: insert into d4_fk values (1);
327
336
ERROR: insert or update on table "d4_fk" violates foreign key constraint "d4_fk_a_fkey"
328
337
step s1c: commit;
329
338
330
- starting permutation: s2snitch s1b s1s s2detach s1cancel s3vacfreeze s1s s1insert s1c
339
+ starting permutation: s2snitch s1b s1s s2detach s1cancel s2noop s3vacfreeze s1s s1insert s1c
331
340
step s2snitch: insert into d4_pid select pg_backend_pid();
332
341
step s1b: begin;
333
342
step s1s: select * from d4_primary;
336
345
1
337
346
2
338
347
step s2detach: alter table d4_primary detach partition d4_primary1 concurrently; <waiting ...>
339
- step s1cancel: select pg_cancel_backend(pid) from d4_pid;
340
- pg_cancel_backend
348
+ step s1cancel: select pg_cancel_backend(pid), pg_sleep(0.1) from d4_pid;
349
+ pg_cancel_backendpg_sleep
341
350
342
- t
351
+ t
343
352
step s2detach: <... completed>
344
353
error in steps s1cancel s2detach: ERROR: canceling statement due to user request
354
+ step s2noop: UNLISTEN noop;
345
355
step s3vacfreeze: vacuum freeze pg_catalog.pg_inherits;
346
356
step s1s: select * from d4_primary;
347
357
a
0 commit comments