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

Commit6cbe273

Browse files
committed
fix test 'pathman_calamity', add test 'pathman_inserts' for RETURNING lists etc
1 parenta7b9ea3 commit6cbe273

File tree

4 files changed

+569
-3
lines changed

4 files changed

+569
-3
lines changed

‎Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ DATA = pg_pathman--1.0.sql \
1818
PGFILEDESC = "pg_pathman - partitioning tool"
1919

2020
REGRESS = pathman_basic\
21+
pathman_inserts\
2122
pathman_runtime_nodes\
2223
pathman_callbacks\
2324
pathman_domains\

‎expected/pathman_calamity.out

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -420,7 +420,7 @@ ALTER TABLE calamity.wrong_partition
420420
ADD CONSTRAINT pathman_wrong_partition_1_check
421421
CHECK (val < 10); /* wrong constraint */
422422
SELECT add_to_pathman_config('calamity.part_test', 'val', '10');
423-
ERROR:Wrong constraint format for RANGE partition "wrong_partition"
423+
ERROR:wrong constraint format for RANGE partition "wrong_partition"
424424
EXPLAIN (COSTS OFF) SELECT * FROM calamity.part_ok; /* check that pathman is enabled */
425425
QUERY PLAN
426426
-----------------------------
@@ -436,7 +436,7 @@ ALTER TABLE calamity.wrong_partition
436436
ADD CONSTRAINT pathman_wrong_partition_1_check
437437
CHECK (val = 1 OR val = 2); /* wrong constraint */
438438
SELECT add_to_pathman_config('calamity.part_test', 'val', '10');
439-
ERROR:Wrong constraint format for RANGE partition "wrong_partition"
439+
ERROR:wrong constraint format for RANGE partition "wrong_partition"
440440
EXPLAIN (COSTS OFF) SELECT * FROM calamity.part_ok; /* check that pathman is enabled */
441441
QUERY PLAN
442442
-----------------------------
@@ -452,7 +452,7 @@ ALTER TABLE calamity.wrong_partition
452452
ADD CONSTRAINT pathman_wrong_partition_1_check
453453
CHECK (val >= 10 AND val = 2); /* wrong constraint */
454454
SELECT add_to_pathman_config('calamity.part_test', 'val', '10');
455-
ERROR:Wrong constraint format for RANGE partition "wrong_partition"
455+
ERROR:wrong constraint format for RANGE partition "wrong_partition"
456456
EXPLAIN (COSTS OFF) SELECT * FROM calamity.part_ok; /* check that pathman is enabled */
457457
QUERY PLAN
458458
-----------------------------

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp