mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-10-07 08:06:50 +02:00
Mention limitation of unique in partitioned tables
Per gripe from Phil Bayer. Authors: Amit Langote and others Discussion: https://postgr.es/m/156236160709.1192.4498528196556144085@wrigleys.postgresql.org
This commit is contained in:
parent
a5c2f3a346
commit
220857a875
@ -4003,6 +4003,15 @@ ALTER INDEX measurement_city_id_logdate_key
|
|||||||
</para>
|
</para>
|
||||||
</listitem>
|
</listitem>
|
||||||
|
|
||||||
|
<listitem>
|
||||||
|
<para>
|
||||||
|
Unique constraints on partitioned tables must include all the
|
||||||
|
partition key columns. This limitation exists because
|
||||||
|
<productname>PostgreSQL</productname> can only enforce
|
||||||
|
uniqueness in each partition individually.
|
||||||
|
</para>
|
||||||
|
</listitem>
|
||||||
|
|
||||||
<listitem>
|
<listitem>
|
||||||
<para>
|
<para>
|
||||||
<literal>BEFORE ROW</literal> triggers, if necessary, must be defined
|
<literal>BEFORE ROW</literal> triggers, if necessary, must be defined
|
||||||
|
Loading…
Reference in New Issue
Block a user