Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit5ff467b

Browse files
committed
code cleansing + refactoring, record AUTO dependency on naming sequence
1 parent231046d commit5ff467b

21 files changed

+167
-221
lines changed

‎expected/pathman_basic.out

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,6 @@ SELECT pathman.create_range_partitions('test.range_rel', 'dt', '2015-01-01'::DAT
135135
ERROR: partitioning key "dt" must be marked NOT NULL
136136
ALTER TABLE test.range_rel ALTER COLUMN dt SET NOT NULL;
137137
SELECT pathman.create_range_partitions('test.range_rel', 'DT', '2015-01-01'::DATE, '1 month'::INTERVAL);
138-
NOTICE: sequence "range_rel_seq" does not exist, skipping
139138
create_range_partitions
140139
-------------------------
141140
4
@@ -157,7 +156,6 @@ CREATE TABLE test.num_range_rel (
157156
idSERIAL PRIMARY KEY,
158157
txtTEXT);
159158
SELECT pathman.create_range_partitions('test.num_range_rel', 'id', 0, 1000, 4);
160-
NOTICE: sequence "num_range_rel_seq" does not exist, skipping
161159
create_range_partitions
162160
-------------------------
163161
4
@@ -193,7 +191,6 @@ SELECT COUNT(*) FROM ONLY test.num_range_rel;
193191
CREATE TABLE test.improved_dummy (id BIGSERIAL, name TEXT NOT NULL);
194192
INSERT INTO test.improved_dummy (name) SELECT md5(g::TEXT) FROM generate_series(1, 100) as g;
195193
SELECT pathman.create_range_partitions('test.improved_dummy', 'id', 1, 10);
196-
NOTICE: sequence "improved_dummy_seq" does not exist, skipping
197194
create_range_partitions
198195
-------------------------
199196
10
@@ -336,7 +333,6 @@ NOTICE: drop cascades to 2 other objects
336333
CREATE TABLE test.insert_into_select(val int NOT NULL);
337334
INSERT INTO test.insert_into_select SELECT generate_series(1, 100);
338335
SELECT pathman.create_range_partitions('test.insert_into_select', 'val', 1, 20);
339-
NOTICE: sequence "insert_into_select_seq" does not exist, skipping
340336
create_range_partitions
341337
-------------------------
342338
5
@@ -394,7 +390,6 @@ NOTICE: drop cascades to 5 other objects
394390
CREATE TABLE test.insert_date_test(val DATE NOT NULL);
395391
SELECT pathman.create_partitions_from_range('test.insert_date_test', 'val',
396392
date '20161001', date '20170101', interval '1 month');
397-
NOTICE: sequence "insert_date_test_seq" does not exist, skipping
398393
create_partitions_from_range
399394
------------------------------
400395
4
@@ -1425,7 +1420,6 @@ CREATE TABLE test.zero(
14251420
valueINT NOT NULL);
14261421
INSERT INTO test.zero SELECT g, g FROM generate_series(1, 100) as g;
14271422
SELECT pathman.create_range_partitions('test.zero', 'value', 50, 10, 0);
1428-
NOTICE: sequence "zero_seq" does not exist, skipping
14291423
create_range_partitions
14301424
-------------------------
14311425
0
@@ -1754,7 +1748,6 @@ CREATE TABLE test."RangeRel" (
17541748
INSERT INTO test."RangeRel" (dt, txt)
17551749
SELECT g, md5(g::TEXT) FROM generate_series('2015-01-01', '2015-01-03', '1 day'::interval) as g;
17561750
SELECT pathman.create_range_partitions('test."RangeRel"', 'dt', '2015-01-01'::DATE, '1 day'::INTERVAL);
1757-
NOTICE: sequence "RangeRel_seq" does not exist, skipping
17581751
create_range_partitions
17591752
-------------------------
17601753
3
@@ -2061,7 +2054,6 @@ NOTICE: drop cascades to 3 other objects
20612054
CREATE TABLE test.special_case_1_ind_o_s(val serial, comment text);
20622055
INSERT INTO test.special_case_1_ind_o_s SELECT generate_series(1, 200), NULL;
20632056
SELECT create_range_partitions('test.special_case_1_ind_o_s', 'val', 1, 50);
2064-
NOTICE: sequence "special_case_1_ind_o_s_seq" does not exist, skipping
20652057
create_range_partitions
20662058
-------------------------
20672059
4
@@ -2119,7 +2111,6 @@ CREATE TABLE test.index_on_childs(c1 integer not null, c2 integer);
21192111
CREATE INDEX ON test.index_on_childs(c2);
21202112
INSERT INTO test.index_on_childs SELECT i, (random()*10000)::integer FROM generate_series(1, 10000) i;
21212113
SELECT create_range_partitions('test.index_on_childs', 'c1', 1, 1000, 0, false);
2122-
NOTICE: sequence "index_on_childs_seq" does not exist, skipping
21232114
create_range_partitions
21242115
-------------------------
21252116
0
@@ -2202,6 +2193,6 @@ ORDER BY partition;
22022193
DROP TABLE test.provided_part_names CASCADE;
22032194
NOTICE: drop cascades to 2 other objects
22042195
DROP SCHEMA test CASCADE;
2205-
NOTICE: drop cascades to47 other objects
2196+
NOTICE: drop cascades to38 other objects
22062197
DROP EXTENSION pg_pathman CASCADE;
22072198
DROP SCHEMA pathman CASCADE;

‎expected/pathman_bgw.out

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ CREATE SCHEMA test_bgw;
88
/* int4, size of Datum == 4 */
99
CREATE TABLE test_bgw.test_1(val INT4 NOT NULL);
1010
SELECT create_range_partitions('test_bgw.test_1', 'val', 1, 5, 2);
11-
NOTICE: sequence "test_1_seq" does not exist, skipping
1211
create_range_partitions
1312
-------------------------
1413
2
@@ -34,7 +33,6 @@ NOTICE: drop cascades to 3 other objects
3433
/* int8, size of Datum == 8 */
3534
CREATE TABLE test_bgw.test_2(val INT8 NOT NULL);
3635
SELECT create_range_partitions('test_bgw.test_2', 'val', 1, 5, 2);
37-
NOTICE: sequence "test_2_seq" does not exist, skipping
3836
create_range_partitions
3937
-------------------------
4038
2
@@ -60,7 +58,6 @@ NOTICE: drop cascades to 3 other objects
6058
/* numeric, size of Datum == var */
6159
CREATE TABLE test_bgw.test_3(val NUMERIC NOT NULL);
6260
SELECT create_range_partitions('test_bgw.test_3', 'val', 1, 5, 2);
63-
NOTICE: sequence "test_3_seq" does not exist, skipping
6461
create_range_partitions
6562
-------------------------
6663
2
@@ -86,7 +83,6 @@ NOTICE: drop cascades to 3 other objects
8683
/* date, size of Datum == var */
8784
CREATE TABLE test_bgw.test_4(val DATE NOT NULL);
8885
SELECT create_range_partitions('test_bgw.test_4', 'val', '20170213'::date, '1 day'::interval, 2);
89-
NOTICE: sequence "test_4_seq" does not exist, skipping
9086
create_range_partitions
9187
-------------------------
9288
2
@@ -110,5 +106,4 @@ SELECT * FROM pathman_partition_list ORDER BY partition; /* should contain 3 par
110106
DROP TABLE test_bgw.test_4 CASCADE;
111107
NOTICE: drop cascades to 3 other objects
112108
DROP SCHEMA test_bgw CASCADE;
113-
NOTICE: drop cascades to 4 other objects
114109
DROP EXTENSION pg_pathman;

‎expected/pathman_calamity.out

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@ CREATE TABLE calamity.part_test(val serial);
2121
/* test pg_pathman's cache */
2222
INSERT INTO calamity.part_test SELECT generate_series(1, 30);
2323
SELECT create_range_partitions('calamity.part_test', 'val', 1, 10);
24-
NOTICE: sequence "part_test_seq" does not exist, skipping
2524
create_range_partitions
2625
-------------------------
2726
3
@@ -704,7 +703,6 @@ SELECT count(*) FROM pathman_config_params WHERE partrel = 'calamity.to_be_disab
704703
/* check function get_part_range_by_idx() */
705704
CREATE TABLE calamity.test_range_idx(val INT4 NOT NULL);
706705
SELECT create_range_partitions('calamity.test_range_idx', 'val', 1, 10, 1);
707-
NOTICE: sequence "test_range_idx_seq" does not exist, skipping
708706
create_range_partitions
709707
-------------------------
710708
1
@@ -731,7 +729,6 @@ NOTICE: drop cascades to table calamity.test_range_idx_1
731729
/* check function get_part_range_by_oid() */
732730
CREATE TABLE calamity.test_range_oid(val INT4 NOT NULL);
733731
SELECT create_range_partitions('calamity.test_range_oid', 'val', 1, 10, 1);
734-
NOTICE: sequence "test_range_oid_seq" does not exist, skipping
735732
create_range_partitions
736733
-------------------------
737734
1
@@ -759,14 +756,12 @@ ERROR: cannot merge partitions
759756
CREATE TABLE calamity.merge_test_a(val INT4 NOT NULL);
760757
CREATE TABLE calamity.merge_test_b(val INT4 NOT NULL);
761758
SELECT create_range_partitions('calamity.merge_test_a', 'val', 1, 10, 2);
762-
NOTICE: sequence "merge_test_a_seq" does not exist, skipping
763759
create_range_partitions
764760
-------------------------
765761
2
766762
(1 row)
767763

768764
SELECT create_range_partitions('calamity.merge_test_b', 'val', 1, 10, 2);
769-
NOTICE: sequence "merge_test_b_seq" does not exist, skipping
770765
create_range_partitions
771766
-------------------------
772767
2
@@ -824,7 +819,7 @@ SELECT count(*) FROM pg_trigger WHERE tgrelid = 'calamity.trig_test_tbl_1'::REGC
824819
DROP TABLE calamity.trig_test_tbl CASCADE;
825820
NOTICE: drop cascades to 2 other objects
826821
DROP SCHEMA calamity CASCADE;
827-
NOTICE: drop cascades to20 other objects
822+
NOTICE: drop cascades to15 other objects
828823
DROP EXTENSION pg_pathman;
829824
/*
830825
* -------------------------------------
@@ -838,7 +833,6 @@ SET pg_pathman.enable_bounds_cache = false;
838833
/* check view pathman_cache_stats */
839834
CREATE TABLE calamity.test_pathman_cache_stats(val NUMERIC NOT NULL);
840835
SELECT create_range_partitions('calamity.test_pathman_cache_stats', 'val', 1, 10, 10);
841-
NOTICE: sequence "test_pathman_cache_stats_seq" does not exist, skipping
842836
create_range_partitions
843837
-------------------------
844838
10
@@ -925,7 +919,6 @@ SELECT context, entries FROM pathman_cache_stats ORDER BY context;/* OK */
925919

926920
DROP TABLE calamity.test_pathman_cache_stats;
927921
DROP SCHEMA calamity CASCADE;
928-
NOTICE: drop cascades to sequence calamity.test_pathman_cache_stats_seq
929922
DROP EXTENSION pg_pathman;
930923
/*
931924
* ------------------------------------------
@@ -937,7 +930,6 @@ CREATE EXTENSION pg_pathman;
937930
/* check function pathman_cache_search_relid() */
938931
CREATE TABLE calamity.survivor(val INT NOT NULL);
939932
SELECT create_range_partitions('calamity.survivor', 'val', 1, 10, 2);
940-
NOTICE: sequence "survivor_seq" does not exist, skipping
941933
create_range_partitions
942934
-------------------------
943935
2
@@ -1000,5 +992,4 @@ EXPLAIN (COSTS OFF) SELECT * FROM calamity.survivor;/* OK */
1000992
DROP TABLE calamity.survivor CASCADE;
1001993
NOTICE: drop cascades to 2 other objects
1002994
DROP SCHEMA calamity CASCADE;
1003-
NOTICE: drop cascades to sequence calamity.survivor_seq
1004995
DROP EXTENSION pg_pathman;

‎expected/pathman_callbacks.out

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ END
1616
$$ language plpgsql;
1717
CREATE TABLE callbacks.abc(a serial, b int);
1818
SELECT create_range_partitions('callbacks.abc', 'a', 1, 100, 2);
19-
NOTICE: sequence "abc_seq" does not exist, skipping
2019
create_range_partitions
2120
-------------------------
2221
2
@@ -416,5 +415,5 @@ ORDER BY range_min::INT4;
416415
DROP TABLE callbacks.abc CASCADE;
417416
NOTICE: drop cascades to 4 other objects
418417
DROP SCHEMA callbacks CASCADE;
419-
NOTICE: drop cascades to3 other objects
418+
NOTICE: drop cascades to2 other objects
420419
DROP EXTENSION pg_pathman CASCADE;

‎expected/pathman_column_type.out

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ CREATE SCHEMA test_column_type;
88
/* create new table (val int) */
99
CREATE TABLE test_column_type.test(val INT4 NOT NULL);
1010
SELECT create_range_partitions('test_column_type.test', 'val', 1, 10, 10);
11-
NOTICE: sequence "test_seq" does not exist, skipping
1211
create_range_partitions
1312
-------------------------
1413
10
@@ -167,5 +166,4 @@ NOTICE: 0 rows copied from test_column_type.test_4
167166

168167
DROP TABLE test_column_type.test CASCADE;
169168
DROP SCHEMA test_column_type CASCADE;
170-
NOTICE: drop cascades to sequence test_column_type.test_seq
171169
DROP EXTENSION pg_pathman;

‎expected/pathman_cte.out

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ INSERT INTO test_cte.range_rel (dt, txt)
1313
SELECT g, md5(g::TEXT)
1414
FROM generate_series('2015-01-01', '2015-04-30', '1 day'::interval) AS g;
1515
SELECT create_range_partitions('test_cte.range_rel', 'DT', '2015-01-01'::DATE, '1 month'::INTERVAL);
16-
NOTICE: sequence "range_rel_seq" does not exist, skipping
1716
create_range_partitions
1817
-------------------------
1918
4
@@ -80,7 +79,6 @@ INSERT INTO test_cte.cte_del_xacts_specdata VALUES (1, 1, 1, current_timestamp);
8079
/* create 2 partitions */
8180
SELECT create_range_partitions('test_cte.cte_del_xacts'::regclass, 'pdate',
8281
'2016-01-01'::date, '50 days'::interval);
83-
NOTICE: sequence "cte_del_xacts_seq" does not exist, skipping
8482
create_range_partitions
8583
-------------------------
8684
2
@@ -270,5 +268,5 @@ SELECT * FROM test;
270268
(4 rows)
271269

272270
DROP SCHEMA test_cte CASCADE;
273-
NOTICE: drop cascades to5 other objects
271+
NOTICE: drop cascades to3 other objects
274272
DROP EXTENSION pg_pathman;

‎expected/pathman_domains.out

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ CREATE DOMAIN domains.dom_test AS numeric CHECK (value < 1200);
55
CREATE TABLE domains.dom_table(val domains.dom_test NOT NULL);
66
INSERT INTO domains.dom_table SELECT generate_series(1, 999);
77
SELECT create_range_partitions('domains.dom_table', 'val', 1, 100);
8-
NOTICE: sequence "dom_table_seq" does not exist, skipping
98
create_range_partitions
109
-------------------------
1110
10
@@ -125,5 +124,5 @@ ORDER BY "partition"::TEXT;
125124
(5 rows)
126125

127126
DROP SCHEMA domains CASCADE;
128-
NOTICE: drop cascades to8 other objects
127+
NOTICE: drop cascades to7 other objects
129128
DROP EXTENSION pg_pathman CASCADE;

‎expected/pathman_expressions.out

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,6 @@ SELECT create_range_partitions('test_exprs.range_rel', 'RANDOM()', '15 years'::I
7878
ERROR: start value is less than min value of "random()"
7979
SELECT create_range_partitions('test_exprs.range_rel', 'AGE(dt, ''2000-01-01''::DATE)',
8080
'15 years'::INTERVAL, '1 year'::INTERVAL, 10);
81-
NOTICE: sequence "range_rel_seq" does not exist, skipping
8281
create_range_partitions
8382
-------------------------
8483
10
@@ -152,5 +151,5 @@ SELECT COUNT(*) FROM test_exprs.range_rel_2;
152151
(1 row)
153152

154153
DROP SCHEMA test_exprs CASCADE;
155-
NOTICE: drop cascades to17 other objects
154+
NOTICE: drop cascades to16 other objects
156155
DROP EXTENSION pg_pathman;

‎expected/pathman_foreign_keys.out

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ CREATE TABLE fkeys.test_fkey(
1010
FOREIGN KEY (comment) REFERENCES fkeys.test_ref(comment));
1111
INSERT INTO fkeys.test_fkey SELECT generate_series(1, 1000), 'test';
1212
SELECT create_range_partitions('fkeys.test_fkey', 'id', 1, 100);
13-
NOTICE: sequence "test_fkey_seq" does not exist, skipping
1413
create_range_partitions
1514
-------------------------
1615
10
@@ -75,7 +74,6 @@ WARNING: foreign key "replies_message_id_fkey" references table "fkeys.messages
7574
ERROR: table "fkeys.messages" is referenced from other tables
7675
ALTER TABLE fkeys.replies DROP CONSTRAINT replies_message_id_fkey;
7776
SELECT create_range_partitions('fkeys.messages', 'id', 1, 100, 2); /* ok */
78-
NOTICE: sequence "messages_seq" does not exist, skipping
7977
create_range_partitions
8078
-------------------------
8179
2
@@ -92,5 +90,5 @@ EXPLAIN (COSTS OFF) SELECT * FROM fkeys.messages;
9290
DROP TABLE fkeys.messages, fkeys.replies CASCADE;
9391
NOTICE: drop cascades to 2 other objects
9492
DROP SCHEMA fkeys CASCADE;
95-
NOTICE: drop cascades to4 other objects
93+
NOTICE: drop cascades to2 other objects
9694
DROP EXTENSION pg_pathman CASCADE;

‎expected/pathman_inserts.out

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ CREATE TABLE test_inserts.storage(a INT4, b INT4 NOT NULL, c NUMERIC, d TEXT);
77
INSERT INTO test_inserts.storage SELECT i * 2, i, i, i::text FROM generate_series(1, 100) i;
88
CREATE UNIQUE INDEX ON test_inserts.storage(a);
99
SELECT create_range_partitions('test_inserts.storage', 'b', 1, 10);
10-
NOTICE: sequence "storage_seq" does not exist, skipping
1110
create_range_partitions
1211
-------------------------
1312
10
@@ -858,7 +857,6 @@ NOTICE: AFTER INSERTION TRIGGER ON TABLE storage_14 HAS EXPIRED. INSERTED ROW:
858857
CREATE TABLE test_inserts.test_gap(val INT NOT NULL);
859858
INSERT INTO test_inserts.test_gap SELECT generate_series(1, 30);
860859
SELECT create_range_partitions('test_inserts.test_gap', 'val', 1, 10);
861-
NOTICE: sequence "test_gap_seq" does not exist, skipping
862860
create_range_partitions
863861
-------------------------
864862
3
@@ -870,5 +868,5 @@ ERROR: cannot spawn a partition
870868
DROP TABLE test_inserts.test_gap CASCADE;
871869
NOTICE: drop cascades to 2 other objects
872870
DROP SCHEMA test_inserts CASCADE;
873-
NOTICE: drop cascades to20 other objects
871+
NOTICE: drop cascades to18 other objects
874872
DROP EXTENSION pg_pathman CASCADE;

‎expected/pathman_interval.out

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ CREATE SCHEMA test_interval;
44
/* Range partitions for INT2 type */
55
CREATE TABLE test_interval.abc (id INT2 NOT NULL);
66
SELECT create_range_partitions('test_interval.abc', 'id', 0, 100, 2);
7-
NOTICE: sequence "abc_seq" does not exist, skipping
87
create_range_partitions
98
-------------------------
109
2
@@ -272,5 +271,4 @@ ERROR: table "test_interval.abc" is not partitioned by RANGE
272271
DROP TABLE test_interval.abc CASCADE;
273272
NOTICE: drop cascades to 3 other objects
274273
DROP SCHEMA test_interval CASCADE;
275-
NOTICE: drop cascades to sequence test_interval.abc_seq
276274
DROP EXTENSION pg_pathman;

‎expected/pathman_only.out

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ CREATE SCHEMA test_only;
1111
CREATE TABLE test_only.from_only_test(val INT NOT NULL);
1212
INSERT INTO test_only.from_only_test SELECT generate_series(1, 20);
1313
SELECT create_range_partitions('test_only.from_only_test', 'val', 1, 2);
14-
NOTICE: sequence "from_only_test_seq" does not exist, skipping
1514
create_range_partitions
1615
-------------------------
1716
10
@@ -239,5 +238,5 @@ WHERE val = (SELECT val FROM ONLY test_only.from_only_test
239238
(27 rows)
240239

241240
DROP SCHEMA test_only CASCADE;
242-
NOTICE: drop cascades to12 other objects
241+
NOTICE: drop cascades to11 other objects
243242
DROP EXTENSION pg_pathman;

‎expected/pathman_permissions.out

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@ ERROR: only the owner or superuser can change partitioning configuration of tab
2323
/* Should be ok */
2424
SET ROLE user1;
2525
SELECT create_range_partitions('permissions.user1_table', 'id', 1, 10, 2);
26-
NOTICE: sequence "user1_table_seq" does not exist, skipping
2726
create_range_partitions
2827
-------------------------
2928
2
@@ -169,7 +168,6 @@ CREATE TABLE permissions.dropped_column(a int, val int not null, b int, c int);
169168
INSERT INTO permissions.dropped_column SELECT i,i,i,i FROM generate_series(1, 30) i;
170169
GRANT SELECT(val), INSERT(val) ON permissions.dropped_column TO user2;
171170
SELECT create_range_partitions('permissions.dropped_column', 'val', 1, 10);
172-
NOTICE: sequence "dropped_column_seq" does not exist, skipping
173171
create_range_partitions
174172
-------------------------
175173
3

‎expected/pathman_runtime_nodes.out

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -263,7 +263,6 @@ create index on test.runtime_test_3_0 (id);
263263
create table test.runtime_test_4(val text, id int not null);
264264
insert into test.runtime_test_4(id, val) select * from generate_series(1, 10000) k, md5(k::text);
265265
select pathman.create_range_partitions('test.runtime_test_4', 'id', 1, 2000);
266-
NOTICE: sequence "runtime_test_4_seq" does not exist, skipping
267266
create_range_partitions
268267
-------------------------
269268
5
@@ -409,6 +408,6 @@ where id = any (select generate_series(-10, -1)); /* should be empty */
409408
set enable_hashjoin = on;
410409
set enable_mergejoin = on;
411410
DROP SCHEMA test CASCADE;
412-
NOTICE: drop cascades to37 other objects
411+
NOTICE: drop cascades to36 other objects
413412
DROP EXTENSION pg_pathman CASCADE;
414413
DROP SCHEMA pathman CASCADE;

‎expected/pathman_update_trigger.out

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ CREATE SCHEMA test_update_trigger;
66
CREATE TABLE test_update_trigger.test_range(val NUMERIC NOT NULL, comment TEXT);
77
INSERT INTO test_update_trigger.test_range SELECT i, i FROM generate_series(1, 100) i;
88
SELECT create_range_partitions('test_update_trigger.test_range', 'val', 1, 10);
9-
NOTICE: sequence "test_range_seq" does not exist, skipping
109
create_range_partitions
1110
-------------------------
1211
10
@@ -286,5 +285,5 @@ SELECT count(*) FROM test_update_trigger.test_hash;
286285
(1 row)
287286

288287
DROP SCHEMA test_update_trigger CASCADE;
289-
NOTICE: drop cascades to18 other objects
288+
NOTICE: drop cascades to17 other objects
290289
DROP EXTENSION pg_pathman;

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp