|
1 | 1 | Parsed test spec with 2 sessions |
2 | 2 |
|
3 | 3 | starting permutation: s1b s1_insert_150 s1r s1_show_partitions s2b s2_insert_150 s2c s2_show_partitions |
4 | | -create_range_partitions |
| 4 | +set_spawn_using_bgw |
5 | 5 |
|
6 | | -1 |
| 6 | +
|
7 | 7 | step s1b: BEGIN; |
8 | | -step s1_insert_150: INSERT INTO range_rel SELECT generate_series(1, 150); |
| 8 | +step s1_insert_150: INSERT INTO range_rel SELECT generate_series(1,150); |
9 | 9 | step s1r: ROLLBACK; |
10 | | -step s1_show_partitions: SELECT c.consrc FROM pg_inherits i LEFT JOIN pg_constraint c ON c.conrelid = i.inhrelid AND c.consrc IS NOT NULL WHERE i.inhparent = 'range_rel'::regclass::oid ORDER BY c.oid; |
| 10 | +step s1_show_partitions: SELECT c.consrc FROM pg_inherits i LEFT JOIN pg_constraint c |
| 11 | + ON c.conrelid = i.inhrelid |
| 12 | + WHERE i.inhparent = 'range_rel'::regclass |
| 13 | + ORDER BY c.oid; |
11 | 14 | consrc |
12 | 15 |
|
| 16 | + |
13 | 17 | ((id >= 1) AND (id < 101)) |
| 18 | + |
14 | 19 | ((id >= 101) AND (id < 201)) |
15 | 20 | step s2b: BEGIN; |
16 | | -step s2_insert_150: INSERT INTO range_rel SELECT generate_series(1, 150); |
| 21 | +step s2_insert_150: INSERT INTO range_rel SELECT generate_series(1,150); |
17 | 22 | step s2c: COMMIT; |
18 | | -step s2_show_partitions: SELECT c.consrc FROM pg_inherits i LEFT JOIN pg_constraint c ON c.conrelid = i.inhrelid AND c.consrc IS NOT NULL WHERE i.inhparent = 'range_rel'::regclass::oid ORDER BY c.oid; |
| 23 | +step s2_show_partitions: SELECT c.consrc FROM pg_inherits i LEFT JOIN pg_constraint c |
| 24 | + ON c.conrelid = i.inhrelid |
| 25 | + WHERE i.inhparent = 'range_rel'::regclass |
| 26 | + ORDER BY c.oid; |
19 | 27 | consrc |
20 | 28 |
|
| 29 | + |
21 | 30 | ((id >= 1) AND (id < 101)) |
| 31 | + |
22 | 32 | ((id >= 101) AND (id < 201)) |
23 | 33 |
|
24 | 34 | starting permutation: s1b s1_insert_150 s1r s1_show_partitions s2b s2_insert_300 s2c s2_show_partitions |
25 | | -create_range_partitions |
| 35 | +set_spawn_using_bgw |
26 | 36 |
|
27 | | -1 |
| 37 | +
|
28 | 38 | step s1b: BEGIN; |
29 | | -step s1_insert_150: INSERT INTO range_rel SELECT generate_series(1, 150); |
| 39 | +step s1_insert_150: INSERT INTO range_rel SELECT generate_series(1,150); |
30 | 40 | step s1r: ROLLBACK; |
31 | | -step s1_show_partitions: SELECT c.consrc FROM pg_inherits i LEFT JOIN pg_constraint c ON c.conrelid = i.inhrelid AND c.consrc IS NOT NULL WHERE i.inhparent = 'range_rel'::regclass::oid ORDER BY c.oid; |
| 41 | +step s1_show_partitions: SELECT c.consrc FROM pg_inherits i LEFT JOIN pg_constraint c |
| 42 | + ON c.conrelid = i.inhrelid |
| 43 | + WHERE i.inhparent = 'range_rel'::regclass |
| 44 | + ORDER BY c.oid; |
32 | 45 | consrc |
33 | 46 |
|
| 47 | + |
34 | 48 | ((id >= 1) AND (id < 101)) |
| 49 | + |
35 | 50 | ((id >= 101) AND (id < 201)) |
36 | 51 | step s2b: BEGIN; |
37 | 52 | step s2_insert_300: INSERT INTO range_rel SELECT generate_series(151, 300); |
38 | 53 | step s2c: COMMIT; |
39 | | -step s2_show_partitions: SELECT c.consrc FROM pg_inherits i LEFT JOIN pg_constraint c ON c.conrelid = i.inhrelid AND c.consrc IS NOT NULL WHERE i.inhparent = 'range_rel'::regclass::oid ORDER BY c.oid; |
| 54 | +step s2_show_partitions: SELECT c.consrc FROM pg_inherits i LEFT JOIN pg_constraint c |
| 55 | + ON c.conrelid = i.inhrelid |
| 56 | + WHERE i.inhparent = 'range_rel'::regclass |
| 57 | + ORDER BY c.oid; |
40 | 58 | consrc |
41 | 59 |
|
| 60 | + |
42 | 61 | ((id >= 1) AND (id < 101)) |
| 62 | + |
43 | 63 | ((id >= 101) AND (id < 201)) |
| 64 | + |
44 | 65 | ((id >= 201) AND (id < 301)) |
45 | 66 |
|
46 | 67 | starting permutation: s1b s1_insert_300 s1r s1_show_partitions s2b s2_insert_150 s2c s2_show_partitions |
47 | | -create_range_partitions |
| 68 | +set_spawn_using_bgw |
48 | 69 |
|
49 | | -1 |
| 70 | +
|
50 | 71 | step s1b: BEGIN; |
51 | 72 | step s1_insert_300: INSERT INTO range_rel SELECT generate_series(151, 300); |
52 | 73 | step s1r: ROLLBACK; |
53 | | -step s1_show_partitions: SELECT c.consrc FROM pg_inherits i LEFT JOIN pg_constraint c ON c.conrelid = i.inhrelid AND c.consrc IS NOT NULL WHERE i.inhparent = 'range_rel'::regclass::oid ORDER BY c.oid; |
| 74 | +step s1_show_partitions: SELECT c.consrc FROM pg_inherits i LEFT JOIN pg_constraint c |
| 75 | + ON c.conrelid = i.inhrelid |
| 76 | + WHERE i.inhparent = 'range_rel'::regclass |
| 77 | + ORDER BY c.oid; |
54 | 78 | consrc |
55 | 79 |
|
| 80 | + |
56 | 81 | ((id >= 1) AND (id < 101)) |
| 82 | + |
57 | 83 | ((id >= 101) AND (id < 201)) |
| 84 | + |
58 | 85 | ((id >= 201) AND (id < 301)) |
59 | 86 | step s2b: BEGIN; |
60 | | -step s2_insert_150: INSERT INTO range_rel SELECT generate_series(1, 150); |
| 87 | +step s2_insert_150: INSERT INTO range_rel SELECT generate_series(1,150); |
61 | 88 | step s2c: COMMIT; |
62 | | -step s2_show_partitions: SELECT c.consrc FROM pg_inherits i LEFT JOIN pg_constraint c ON c.conrelid = i.inhrelid AND c.consrc IS NOT NULL WHERE i.inhparent = 'range_rel'::regclass::oid ORDER BY c.oid; |
| 89 | +step s2_show_partitions: SELECT c.consrc FROM pg_inherits i LEFT JOIN pg_constraint c |
| 90 | + ON c.conrelid = i.inhrelid |
| 91 | + WHERE i.inhparent = 'range_rel'::regclass |
| 92 | + ORDER BY c.oid; |
63 | 93 | consrc |
64 | 94 |
|
| 95 | + |
65 | 96 | ((id >= 1) AND (id < 101)) |
| 97 | + |
66 | 98 | ((id >= 101) AND (id < 201)) |
| 99 | + |
67 | 100 | ((id >= 201) AND (id < 301)) |
68 | 101 |
|
69 | 102 | starting permutation: s1b s1_insert_150 s2b s2_insert_300 s1r s2r s2_show_partitions |
70 | | -create_range_partitions |
| 103 | +set_spawn_using_bgw |
71 | 104 |
|
72 | | -1 |
| 105 | +
|
73 | 106 | step s1b: BEGIN; |
74 | | -step s1_insert_150: INSERT INTO range_rel SELECT generate_series(1, 150); |
| 107 | +step s1_insert_150: INSERT INTO range_rel SELECT generate_series(1,150); |
75 | 108 | step s2b: BEGIN; |
76 | 109 | step s2_insert_300: INSERT INTO range_rel SELECT generate_series(151, 300); |
77 | 110 | step s1r: ROLLBACK; |
78 | 111 | step s2r: ROLLBACK; |
79 | | -step s2_show_partitions: SELECT c.consrc FROM pg_inherits i LEFT JOIN pg_constraint c ON c.conrelid = i.inhrelid AND c.consrc IS NOT NULL WHERE i.inhparent = 'range_rel'::regclass::oid ORDER BY c.oid; |
| 112 | +step s2_show_partitions: SELECT c.consrc FROM pg_inherits i LEFT JOIN pg_constraint c |
| 113 | + ON c.conrelid = i.inhrelid |
| 114 | + WHERE i.inhparent = 'range_rel'::regclass |
| 115 | + ORDER BY c.oid; |
80 | 116 | consrc |
81 | 117 |
|
| 118 | + |
82 | 119 | ((id >= 1) AND (id < 101)) |
| 120 | + |
83 | 121 | ((id >= 101) AND (id < 201)) |
| 122 | + |
84 | 123 | ((id >= 201) AND (id < 301)) |