You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: expected/insert_nodes.out
+51-12Lines changed: 51 additions & 12 deletions
Original file line number
Diff line number
Diff line change
@@ -5,42 +5,63 @@ set_spawn_using_bgw
5
5
6
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
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
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
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
0 commit comments