mirror of
https://git.postgresql.org/git/postgresql.git
synced 2025-01-06 15:24:56 +08:00
Stabilize create_table regression test.
Adding \d+ to the test in commit 2dfa3fea8
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.
This commit is contained in:
parent
72647ac3bf
commit
042d8017ec
@ -1042,17 +1042,6 @@ create table test_part_coll2 partition of test_part_coll_posix for values from (
|
||||
create table test_part_coll_cast partition of test_part_coll_posix for values from (name 'm' collate "C") to ('s');
|
||||
-- ok; partition collation silently overrides the default collation of type 'name'
|
||||
create table test_part_coll_cast2 partition of test_part_coll_posix for values from (name 's') to ('z');
|
||||
\d+ test_part_coll_posix
|
||||
Partitioned table "public.test_part_coll_posix"
|
||||
Column | Type | Collation | Nullable | Default | Storage | Stats target | Description
|
||||
--------+------+-----------+----------+---------+----------+--------------+-------------
|
||||
a | text | | | | extended | |
|
||||
Partition key: RANGE (a COLLATE "POSIX")
|
||||
Partitions: test_part_coll FOR VALUES FROM ('a') TO ('g'),
|
||||
test_part_coll2 FOR VALUES FROM ('g') TO ('m'),
|
||||
test_part_coll_cast FOR VALUES FROM ('m') TO ('s'),
|
||||
test_part_coll_cast2 FOR VALUES FROM ('s') TO ('z')
|
||||
|
||||
drop table test_part_coll_posix;
|
||||
-- Partition bound in describe output
|
||||
\d+ part_b
|
||||
|
@ -833,8 +833,6 @@ create table test_part_coll_cast partition of test_part_coll_posix for values fr
|
||||
-- ok; partition collation silently overrides the default collation of type 'name'
|
||||
create table test_part_coll_cast2 partition of test_part_coll_posix for values from (name 's') to ('z');
|
||||
|
||||
\d+ test_part_coll_posix
|
||||
|
||||
drop table test_part_coll_posix;
|
||||
|
||||
-- Partition bound in describe output
|
||||
|
Loading…
Reference in New Issue
Block a user