Postgres 11 Insufficient columns in PRIMARY KEY constraint definition - Mailing list pgsql-bugs

From Joshua Muzaaya
Subject Postgres 11 Insufficient columns in PRIMARY KEY constraint definition
Date
Msg-id CAKLo-1uTpejOPOkHysxjqmhGvr7kiTrB1k7xZf+wAN3_8XB3yw@mail.gmail.com
Whole thread Raw
Responses Re: Postgres 11 Insufficient columns in PRIMARY KEY constraintdefinition  (Alvaro Herrera <alvherre@2ndquadrant.com>)
List pgsql-bugs
DETAIL: PRIMARY KEY constraint on table lacks column "sdate" which is part of the partition key. SQL state: 0A000

I have a table which i am trying to create with RANGE partitioning using the timestamp column. But my primary doesnot need to have this timestamp column, its another column. Why is postgres 11 asking me to add this partition key in the primary key ?

The documentation lacks this or am missing something ?

pgsql-bugs by date:

Previous
From: Tom Lane
Date:
Subject: Re: Error on insert xml
Next
From: Alvaro Herrera
Date:
Subject: Re: Postgres 11 Insufficient columns in PRIMARY KEY constraintdefinition