Debian Codegraph @

src/test/isolation/expected/subxid-overflow.out

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