On Thu, May 4, 2017 at 5:14 PM, Rahila Syed <rahilasye...@gmail.com> wrote:

> The syntax implemented in this patch is as follows,
>
> CREATE TABLE p11 PARTITION OF p1 DEFAULT;
>
> Applied v9 patches, table description still showing old pattern of default
partition. Is it expected?

create table lpd (a int, b int, c varchar) partition by list(a);
create table lpd_d partition of lpd DEFAULT;

\d+ lpd
                                         Table "public.lpd"
 Column |       Type        | Collation | Nullable | Default | Storage  |
Stats target | Description
--------+-------------------+-----------+----------+---------+----------+--------------+-------------
 a      | integer           |           |          |         | plain
|              |
 b      | integer           |           |          |         | plain
|              |
 c      | character varying |           |          |         | extended
|              |
Partition key: LIST (a)
Partitions: lpd_d FOR VALUES IN (DEFAULT)

Reply via email to