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

Commit5992123

Browse files
committed
tests fixed
1 parentbba1535 commit5992123

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

‎expected/pg_pathman.out

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1134,7 +1134,11 @@ SELECT pathman.add_range_partition('test.zero', 50, 70, 'test.zero_50');
11341134
(1 row)
11351135

11361136
SELECT pathman.append_range_partition('test.zero', 'test.zero_appended');
1137-
ERROR: Partition #-1 does not exist (total amount is 1)
1137+
append_range_partition
1138+
------------------------
1139+
test.zero_appended
1140+
(1 row)
1141+
11381142
SELECT pathman.prepend_range_partition('test.zero', 'test.zero_prepended');
11391143
prepend_range_partition
11401144
-------------------------
@@ -1148,7 +1152,7 @@ SELECT pathman.split_range_partition('test.zero_50', 60, 'test.zero_60');
11481152
(1 row)
11491153

11501154
DROP TABLE test.zero CASCADE;
1151-
NOTICE: drop cascades to3 other objects
1155+
NOTICE: drop cascades to4 other objects
11521156
/*
11531157
* Check that altering table columns doesn't break trigger
11541158
*/

‎sql/pg_pathman.sql

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -531,7 +531,7 @@ SELECT pathman.enable_auto('test.range_rel');
531531
INSERT INTOtest.range_rel (dt)VALUES ('2015-06-01');
532532

533533
DROPTABLEtest.range_rel CASCADE;
534-
SELECTpartrel, attname, parttype, range_intervalFROMpathman.pathman_config;
534+
SELECT*FROMpathman.pathman_config;
535535

536536
/* Check overlaps*/
537537
CREATETABLEtest.num_range_rel (
@@ -576,7 +576,7 @@ SELECT pathman.split_range_partition('test."RangeRel_1"', '2015-01-01'::DATE);
576576
SELECTpathman.drop_partitions('test."RangeRel"');
577577
SELECTpathman.create_partitions_from_range('test."RangeRel"','dt','2015-01-01'::DATE,'2015-01-05'::DATE,'1 day'::INTERVAL);
578578
DROPTABLE test."RangeRel" CASCADE;
579-
SELECTpartrel, attname, parttype, range_intervalFROMpathman.pathman_config;
579+
SELECT*FROMpathman.pathman_config;
580580
CREATETABLEtest."RangeRel" (
581581
idSERIALPRIMARY KEY,
582582
dtTIMESTAMPNOT NULL,

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp