blob: 9b0396f451fed755f69cc2a27b00e561b57dc89b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
|
Parsed test spec with 3 sessions
starting permutation: ins subxov xmax s2sel s1c
step ins: TRUNCATE subxids; INSERT INTO subxids VALUES (0, 0);
step subxov: BEGIN; SELECT gen_subxids(100);
gen_subxids
-----------
(1 row)
step xmax: BEGIN; INSERT INTO subxids VALUES (99, 0); COMMIT;
step s2sel: SELECT val FROM subxids WHERE subx = 0;
val
---
0
(1 row)
step s1c: COMMIT;
starting permutation: ins subxov sub3 xmax s2brr s2s3 s3c s2s3 s2c s1c
step ins: TRUNCATE subxids; INSERT INTO subxids VALUES (0, 0);
step subxov: BEGIN; SELECT gen_subxids(100);
gen_subxids
-----------
(1 row)
step sub3: BEGIN; SAVEPOINT s; INSERT INTO subxids VALUES (1, 0);
step xmax: BEGIN; INSERT INTO subxids VALUES (99, 0); COMMIT;
step s2brr: BEGIN ISOLATION LEVEL REPEATABLE READ;
step s2s3: SELECT val FROM subxids WHERE subx = 1;
val
---
(0 rows)
step s3c: COMMIT;
step s2s3: SELECT val FROM subxids WHERE subx = 1;
val
---
(0 rows)
step s2c: COMMIT;
step s1c: COMMIT;
starting permutation: ins subxov sub3 xmax s2brc s2s3 s3c s2s3 s2c s1c
step ins: TRUNCATE subxids; INSERT INTO subxids VALUES (0, 0);
step subxov: BEGIN; SELECT gen_subxids(100);
gen_subxids
-----------
(1 row)
step sub3: BEGIN; SAVEPOINT s; INSERT INTO subxids VALUES (1, 0);
step xmax: BEGIN; INSERT INTO subxids VALUES (99, 0); COMMIT;
step s2brc: BEGIN ISOLATION LEVEL READ COMMITTED;
step s2s3: SELECT val FROM subxids WHERE subx = 1;
val
---
(0 rows)
step s3c: COMMIT;
step s2s3: SELECT val FROM subxids WHERE subx = 1;
val
---
0
(1 row)
step s2c: COMMIT;
step s1c: COMMIT;
starting permutation: ins subxov xmax s2upd s1c
step ins: TRUNCATE subxids; INSERT INTO subxids VALUES (0, 0);
step subxov: BEGIN; SELECT gen_subxids(100);
gen_subxids
-----------
(1 row)
step xmax: BEGIN; INSERT INTO subxids VALUES (99, 0); COMMIT;
step s2upd: UPDATE subxids SET val = 1 WHERE subx = 0; <waiting ...>
step s1c: COMMIT;
step s2upd: <... completed>
|