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

Commit1e4730c

Browse files
committed
Make regression test output locale-independent
In some locales, letters sort before numbers, so change the objectnaming to not depend on that. Introduced by commit7c079d7.
1 parentebfe20d commit1e4730c

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
lines changed

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

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -460,20 +460,20 @@ DROP TABLE partitioned, partitioned2;
460460
CREATE TABLE list_parted (
461461
a int
462462
) PARTITION BY LIST (a);
463-
CREATE TABLEpart_1 PARTITION OF list_parted FOR VALUES IN ('1');
464-
CREATE TABLEpart_2 PARTITION OF list_parted FOR VALUES IN (2);
465-
CREATE TABLEpart_3 PARTITION OF list_parted FOR VALUES IN ((2+1));
463+
CREATE TABLEpart_p1 PARTITION OF list_parted FOR VALUES IN ('1');
464+
CREATE TABLEpart_p2 PARTITION OF list_parted FOR VALUES IN (2);
465+
CREATE TABLEpart_p3 PARTITION OF list_parted FOR VALUES IN ((2+1));
466466
CREATE TABLE part_null PARTITION OF list_parted FOR VALUES IN (null);
467467
\d+ list_parted
468468
Partitioned table "public.list_parted"
469469
Column | Type | Collation | Nullable | Default | Storage | Stats target | Description
470470
--------+---------+-----------+----------+---------+---------+--------------+-------------
471471
a | integer | | | | plain | |
472472
Partition key: LIST (a)
473-
Partitions:part_1 FOR VALUES IN (1),
474-
part_2 FOR VALUES IN (2),
475-
part_3 FOR VALUES IN (3),
476-
part_null FOR VALUES IN (NULL)
473+
Partitions:part_null FOR VALUES IN (NULL),
474+
part_p1 FOR VALUES IN (1),
475+
part_p2 FOR VALUES IN (2),
476+
part_p3 FOR VALUES IN (3)
477477

478478
-- forbidden expressions for partition bound
479479
CREATE TABLE part_bogus_expr_fail PARTITION OF list_parted FOR VALUES IN (somename);

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -436,9 +436,9 @@ DROP TABLE partitioned, partitioned2;
436436
CREATETABLElist_parted (
437437
aint
438438
) PARTITION BY LIST (a);
439-
CREATETABLEpart_1 PARTITION OF list_parted FORVALUESIN ('1');
440-
CREATETABLEpart_2 PARTITION OF list_parted FORVALUESIN (2);
441-
CREATETABLEpart_3 PARTITION OF list_parted FORVALUESIN ((2+1));
439+
CREATETABLEpart_p1 PARTITION OF list_parted FORVALUESIN ('1');
440+
CREATETABLEpart_p2 PARTITION OF list_parted FORVALUESIN (2);
441+
CREATETABLEpart_p3 PARTITION OF list_parted FORVALUESIN ((2+1));
442442
CREATETABLEpart_null PARTITION OF list_parted FORVALUESIN (null);
443443
\d+ list_parted
444444

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp