Skip to content

Commit d074bc4

Browse files
committed
Merge branch 'master' of github.com:postgrespro/pg_pathman into picky_nodes
2 parents 40b89c0 + dca5711 commit d074bc4

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

expected/insert_trigger.out

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,15 @@ create_range_partitions
77
step s1b: BEGIN;
88
step s1_insert_150: INSERT INTO range_rel SELECT generate_series(1, 150);
99
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.consrc;
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;
1111
consrc
1212

1313
((id >= 1) AND (id < 101))
1414
((id >= 101) AND (id < 201))
1515
step s2b: BEGIN;
1616
step s2_insert_150: INSERT INTO range_rel SELECT generate_series(1, 150);
1717
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.consrc;
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;
1919
consrc
2020

2121
((id >= 1) AND (id < 101))
@@ -28,15 +28,15 @@ create_range_partitions
2828
step s1b: BEGIN;
2929
step s1_insert_150: INSERT INTO range_rel SELECT generate_series(1, 150);
3030
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.consrc;
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;
3232
consrc
3333

3434
((id >= 1) AND (id < 101))
3535
((id >= 101) AND (id < 201))
3636
step s2b: BEGIN;
3737
step s2_insert_300: INSERT INTO range_rel SELECT generate_series(151, 300);
3838
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.consrc;
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;
4040
consrc
4141

4242
((id >= 1) AND (id < 101))
@@ -50,7 +50,7 @@ create_range_partitions
5050
step s1b: BEGIN;
5151
step s1_insert_300: INSERT INTO range_rel SELECT generate_series(151, 300);
5252
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.consrc;
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;
5454
consrc
5555

5656
((id >= 1) AND (id < 101))
@@ -59,7 +59,7 @@ consrc
5959
step s2b: BEGIN;
6060
step s2_insert_150: INSERT INTO range_rel SELECT generate_series(1, 150);
6161
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.consrc;
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;
6363
consrc
6464

6565
((id >= 1) AND (id < 101))
@@ -76,7 +76,7 @@ step s2b: BEGIN;
7676
step s2_insert_300: INSERT INTO range_rel SELECT generate_series(151, 300);
7777
step s1r: ROLLBACK;
7878
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.consrc;
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;
8080
consrc
8181

8282
((id >= 1) AND (id < 101))

specs/insert_trigger.spec

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,15 +16,15 @@ session "s1"
1616
step "s1b" { BEGIN; }
1717
step "s1_insert_150" { INSERT INTO range_rel SELECT generate_series(1, 150); }
1818
step "s1_insert_300" { INSERT INTO range_rel SELECT generate_series(151, 300); }
19-
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.consrc; }
19+
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; }
2020
step "s1r" { ROLLBACK; }
2121
step "s1c" { COMMIT; }
2222

2323
session "s2"
2424
step "s2b" { BEGIN; }
2525
step "s2_insert_150" { INSERT INTO range_rel SELECT generate_series(1, 150); }
2626
step "s2_insert_300" { INSERT INTO range_rel SELECT generate_series(151, 300); }
27-
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.consrc; }
27+
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; }
2828
step "s2r" { ROLLBACK; }
2929
step "s2c" { COMMIT; }
3030

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy