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: contrib/pg_pathman/expected/insert_trigger.out
+32-32Lines changed: 32 additions & 32 deletions
Original file line number
Diff line number
Diff line change
@@ -7,19 +7,19 @@ create_range_partitions
7
7
step s1b: BEGIN;
8
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* FROM pg_inherits WHERE inhparent = 'range_rel'::regclass::oid;
11
-
inhrelid inhparent inhseqno
10
+
step s1_show_partitions: SELECTc.consrc FROM pg_inheritsi LEFT JOIN pg_constraint c ON c.conrelid = i.inhrelid AND c.consrc IS NOT NULLWHEREi.inhparent = 'range_rel'::regclass::oid;
11
+
consrc
12
12
13
-
16453 16445 1
14
-
16462 16445 1
13
+
((id >= 1) AND (id < 101))
14
+
((id >= 101) AND (id < 201))
15
15
step s2b: BEGIN;
16
16
step s2_insert_150: INSERT INTO range_rel SELECT generate_series(1, 150);
17
17
step s2c: COMMIT;
18
-
step s2_show_partitions: SELECT* FROM pg_inherits WHERE inhparent = 'range_rel'::regclass::oid;
19
-
inhrelid inhparent inhseqno
18
+
step s2_show_partitions: SELECTc.consrc FROM pg_inheritsi LEFT JOIN pg_constraint c ON c.conrelid = i.inhrelid AND c.consrc IS NOT NULLWHEREi.inhparent = 'range_rel'::regclass::oid;
step s1_insert_150: INSERT INTO range_rel SELECT generate_series(1, 150);
30
30
step s1r: ROLLBACK;
31
-
step s1_show_partitions: SELECT* FROM pg_inherits WHERE inhparent = 'range_rel'::regclass::oid;
32
-
inhrelid inhparent inhseqno
31
+
step s1_show_partitions: SELECTc.consrc FROM pg_inheritsi LEFT JOIN pg_constraint c ON c.conrelid = i.inhrelid AND c.consrc IS NOT NULLWHEREi.inhparent = 'range_rel'::regclass::oid;
32
+
consrc
33
33
34
-
16537 16529 1
35
-
16545 16529 1
34
+
((id >= 1) AND (id < 101))
35
+
((id >= 101) AND (id < 201))
36
36
step s2b: BEGIN;
37
37
step s2_insert_300: INSERT INTO range_rel SELECT generate_series(151, 300);
38
38
step s2c: COMMIT;
39
-
step s2_show_partitions: SELECT* FROM pg_inherits WHERE inhparent = 'range_rel'::regclass::oid;
40
-
inhrelid inhparent inhseqno
39
+
step s2_show_partitions: SELECTc.consrc FROM pg_inheritsi LEFT JOIN pg_constraint c ON c.conrelid = i.inhrelid AND c.consrc IS NOT NULLWHEREi.inhparent = 'range_rel'::regclass::oid;
step s1_insert_300: INSERT INTO range_rel SELECT generate_series(151, 300);
52
52
step s1r: ROLLBACK;
53
-
step s1_show_partitions: SELECT* FROM pg_inherits WHERE inhparent = 'range_rel'::regclass::oid;
54
-
inhrelid inhparent inhseqno
53
+
step s1_show_partitions: SELECTc.consrc FROM pg_inheritsi LEFT JOIN pg_constraint c ON c.conrelid = i.inhrelid AND c.consrc IS NOT NULLWHEREi.inhparent = 'range_rel'::regclass::oid;
54
+
consrc
55
55
56
-
16627 16619 1
57
-
16635 16619 1
58
-
16642 16619 1
56
+
((id >= 1) AND (id < 101))
57
+
((id >= 101) AND (id < 201))
58
+
((id >= 201) AND (id < 301))
59
59
step s2b: BEGIN;
60
60
step s2_insert_150: INSERT INTO range_rel SELECT generate_series(1, 150);
61
61
step s2c: COMMIT;
62
-
step s2_show_partitions: SELECT* FROM pg_inherits WHERE inhparent = 'range_rel'::regclass::oid;
63
-
inhrelid inhparent inhseqno
62
+
step s2_show_partitions: SELECTc.consrc FROM pg_inheritsi LEFT JOIN pg_constraint c ON c.conrelid = i.inhrelid AND c.consrc IS NOT NULLWHEREi.inhparent = 'range_rel'::regclass::oid;
step s2_insert_300: INSERT INTO range_rel SELECT generate_series(151, 300);
77
77
step s1r: ROLLBACK;
78
78
step s2r: ROLLBACK;
79
-
step s2_show_partitions: SELECT* FROM pg_inherits WHERE inhparent = 'range_rel'::regclass::oid;
80
-
inhrelid inhparent inhseqno
79
+
step s2_show_partitions: SELECTc.consrc FROM pg_inheritsi LEFT JOIN pg_constraint c ON c.conrelid = i.inhrelid AND c.consrc IS NOT NULLWHEREi.inhparent = 'range_rel'::regclass::oid;