Skip to content

Commit 220857a

Browse files
committed
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
1 parent a5c2f3a commit 220857a

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

doc/src/sgml/ddl.sgml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4003,6 +4003,15 @@ ALTER INDEX measurement_city_id_logdate_key
40034003
</para>
40044004
</listitem>
40054005

4006+
<listitem>
4007+
<para>
4008+
Unique constraints on partitioned tables must include all the
4009+
partition key columns. This limitation exists because
4010+
<productname>PostgreSQL</productname> can only enforce
4011+
uniqueness in each partition individually.
4012+
</para>
4013+
</listitem>
4014+
40064015
<listitem>
40074016
<para>
40084017
<literal>BEFORE ROW</literal> triggers, if necessary, must be defined

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy