The relevant limitation is described by CREATE TABLE docs that say
Partitioned tables do not support <literal>EXCLUDE</literal> constraints
however, you can define these constraints on individual partitions.
Also, while it's possible to define <literal>PRIMARY KEY</literal>
constraints on partitioned tables, creating foreign keys that
reference a partitioned table is not yet supported.
(the wording is slightly broken in the commit, but got fixed later).
https://github.com/postgres/postgres/commit/3de241dba86f3dd0...
The relevant limitation is described by CREATE TABLE docs that say
(the wording is slightly broken in the commit, but got fixed later).