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

Commit9f989a8

Browse files
committed
Fix typo
1 parent4e8c0f1 commit9f989a8

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

‎src/backend/partitioning/partbounds.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2899,7 +2899,7 @@ check_new_partition_bound(char *relname, Relation parent,
28992899
ereport(ERROR,
29002900
(errcode(ERRCODE_INVALID_OBJECT_DEFINITION),
29012901
errmsg("every hash partition modulus must be a factor of the next larger modulus"),
2902-
errdetail("The new modulus %d is not factor of %d, the modulus of existing partition \"%s\".",
2902+
errdetail("The new modulus %d is notafactor of %d, the modulus of existing partition \"%s\".",
29032903
spec->modulus,next_modulus,
29042904
get_rel_name(partdesc->oids[boundinfo->indexes[offset+1]]))));
29052905
}

‎src/test/regress/expected/create_table.out

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -780,14 +780,14 @@ CREATE TABLE hash_parted (
780780
CREATE TABLE hpart_1 PARTITION OF hash_parted FOR VALUES WITH (MODULUS 10, REMAINDER 0);
781781
CREATE TABLE hpart_2 PARTITION OF hash_parted FOR VALUES WITH (MODULUS 50, REMAINDER 1);
782782
CREATE TABLE hpart_3 PARTITION OF hash_parted FOR VALUES WITH (MODULUS 200, REMAINDER 2);
783-
-- modulus 25 is factor of modulus of 50 but 10 is not factor of 25.
783+
-- modulus 25 is factor of modulus of 50 but 10 is notafactor of 25.
784784
CREATE TABLE fail_part PARTITION OF hash_parted FOR VALUES WITH (MODULUS 25, REMAINDER 3);
785785
ERROR: every hash partition modulus must be a factor of the next larger modulus
786786
DETAIL: The new modulus 25 is not divisible by 10, the modulus of existing partition "hpart_1".
787-
-- previous modulus 50 is factor of 150 but this modulus is not factor of next modulus 200.
787+
-- previous modulus 50 is factor of 150 but this modulus is notafactor of next modulus 200.
788788
CREATE TABLE fail_part PARTITION OF hash_parted FOR VALUES WITH (MODULUS 150, REMAINDER 3);
789789
ERROR: every hash partition modulus must be a factor of the next larger modulus
790-
DETAIL: The new modulus 150 is not factor of 200, the modulus of existing partition "hpart_3".
790+
DETAIL: The new modulus 150 is notafactor of 200, the modulus of existing partition "hpart_3".
791791
-- trying to specify range for the hash partitioned table
792792
CREATE TABLE fail_part PARTITION OF hash_parted FOR VALUES FROM ('a', 1) TO ('z');
793793
ERROR: invalid bound specification for a hash partition

‎src/test/regress/sql/create_table.sql

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -631,9 +631,9 @@ CREATE TABLE hash_parted (
631631
CREATETABLEhpart_1 PARTITION OF hash_parted FORVALUES WITH (MODULUS10, REMAINDER0);
632632
CREATETABLEhpart_2 PARTITION OF hash_parted FORVALUES WITH (MODULUS50, REMAINDER1);
633633
CREATETABLEhpart_3 PARTITION OF hash_parted FORVALUES WITH (MODULUS200, REMAINDER2);
634-
-- modulus 25 is factor of modulus of 50 but 10 is not factor of 25.
634+
-- modulus 25 is factor of modulus of 50 but 10 is notafactor of 25.
635635
CREATETABLEfail_part PARTITION OF hash_parted FORVALUES WITH (MODULUS25, REMAINDER3);
636-
-- previous modulus 50 is factor of 150 but this modulus is not factor of next modulus 200.
636+
-- previous modulus 50 is factor of 150 but this modulus is notafactor of next modulus 200.
637637
CREATETABLEfail_part PARTITION OF hash_parted FORVALUES WITH (MODULUS150, REMAINDER3);
638638
-- trying to specify range for the hash partitioned table
639639
CREATETABLEfail_part PARTITION OF hash_parted FORVALUESFROM ('a',1) TO ('z');

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp