Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 042d801

Browse files
committed
Stabilize create_table regression test.
Adding \d+ to the test in commit 2dfa3fe was ill-advised, because the partitions' names are such that their sort order is locale dependent. We could rename them to avoid that, but it doesn't seem worth the trouble; just take \d+ out again. Per buildfarm.
1 parent 72647ac commit 042d801

File tree

2 files changed

+0
-13
lines changed

2 files changed

+0
-13
lines changed

src/test/regress/expected/create_table.out

-11
Original file line numberDiff line numberDiff line change
@@ -1042,17 +1042,6 @@ create table test_part_coll2 partition of test_part_coll_posix for values from (
10421042
create table test_part_coll_cast partition of test_part_coll_posix for values from (name 'm' collate "C") to ('s');
10431043
-- ok; partition collation silently overrides the default collation of type 'name'
10441044
create table test_part_coll_cast2 partition of test_part_coll_posix for values from (name 's') to ('z');
1045-
\d+ test_part_coll_posix
1046-
Partitioned table "public.test_part_coll_posix"
1047-
Column | Type | Collation | Nullable | Default | Storage | Stats target | Description
1048-
--------+------+-----------+----------+---------+----------+--------------+-------------
1049-
a | text | | | | extended | |
1050-
Partition key: RANGE (a COLLATE "POSIX")
1051-
Partitions: test_part_coll FOR VALUES FROM ('a') TO ('g'),
1052-
test_part_coll2 FOR VALUES FROM ('g') TO ('m'),
1053-
test_part_coll_cast FOR VALUES FROM ('m') TO ('s'),
1054-
test_part_coll_cast2 FOR VALUES FROM ('s') TO ('z')
1055-
10561045
drop table test_part_coll_posix;
10571046
-- Partition bound in describe output
10581047
\d+ part_b

src/test/regress/sql/create_table.sql

-2
Original file line numberDiff line numberDiff line change
@@ -833,8 +833,6 @@ create table test_part_coll_cast partition of test_part_coll_posix for values fr
833833
-- ok; partition collation silently overrides the default collation of type 'name'
834834
create table test_part_coll_cast2 partition of test_part_coll_posix for values from (name 's') to ('z');
835835

836-
\d+ test_part_coll_posix
837-
838836
drop table test_part_coll_posix;
839837

840838
-- Partition bound in describe output

0 commit comments

Comments
 (0)