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

Commit000130d

Browse files
committed
more tests for create_hash_partitions_internal()
1 parentda06245 commit000130d

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

‎expected/pathman_calamity.out

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -295,6 +295,8 @@ SHOW pg_pathman.enable;
295295

296296
/* check function create_hash_partitions_internal() (called for the 2nd time) */
297297
CREATE TABLE calamity.hash_two_times(val serial);
298+
SELECT create_hash_partitions_internal('calamity.hash_two_times', 'val', 2);
299+
ERROR: table "hash_two_times" is not partitioned
298300
SELECT create_hash_partitions('calamity.hash_two_times', 'val', 2);
299301
create_hash_partitions
300302
------------------------

‎sql/pathman_calamity.sql

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,7 @@ SHOW pg_pathman.enable;
111111

112112
/* check function create_hash_partitions_internal() (called for the 2nd time)*/
113113
CREATETABLEcalamity.hash_two_times(valserial);
114+
SELECT create_hash_partitions_internal('calamity.hash_two_times','val',2);
114115
SELECT create_hash_partitions('calamity.hash_two_times','val',2);
115116
SELECT create_hash_partitions_internal('calamity.hash_two_times','val',2);
116117

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp