Postgres 11: Table Partitioning and Primary Keys - Mailing list pgsql-docs

From PG Doc comments form
Subject Postgres 11: Table Partitioning and Primary Keys
Date
Msg-id 156236160709.1192.4498528196556144085@wrigleys.postgresql.org
Whole thread Raw
Responses Re: Postgres 11: Table Partitioning and Primary Keys
Re: Postgres 11: Table Partitioning and Primary Keys
List pgsql-docs
The following documentation comment has been logged on the website:

Page: https://www.postgresql.org/docs/11/ddl-partitioning.html
Description:

In the documentation for Postgres 11 table partitioning, there is no mention
of the requirement that the Primary Key of a partitioned table must contain
the partition key.
In fact the documentation on primary keys is so light that I am not even
100% sure the above is correct.  If the following table is not possible in
Postgres 11, the documentation should find some way to make that clear.  

-- Create partitioned table with partition key not in primary key 
create table events (
                id bigint not null default nextval('events_id_seq'),
                created_date timestamp not null,
                constraint events_pk primary key (id)
) partition by range (created_date);
-- end create table

I believe this should be documented in section "5.10.2.3. Limitations"

pgsql-docs by date:

Previous
From: PG Doc comments form
Date:
Subject: Documentation about physical replication
Next
From: Jürgen Purtz
Date:
Subject: Improvement of GIN figure