projects
/
postgresql.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fa19a08
)
Mention limitation of unique in partitioned tables
author
Alvaro Herrera
<alvherre@alvh.no-ip.org>
Wed, 10 Jul 2019 12:58:41 +0000
(08:58 -0400)
committer
Alvaro Herrera
<alvherre@alvh.no-ip.org>
Wed, 10 Jul 2019 13:12:49 +0000
(09:12 -0400)
Per gripe from Phil Bayer.
Authors: Amit Langote and others
Discussion: https://postgr.es/m/
156236160709
.1192.
4498528196556144085
@wrigleys.postgresql.org
doc/src/sgml/ddl.sgml
patch
|
blob
|
blame
|
history
diff --git
a/doc/src/sgml/ddl.sgml
b/doc/src/sgml/ddl.sgml
index ed2d9c60d50f62bf88c1ce7d8904361ee0bd42b6..9301f0227d7b2c218f119339b6bbed772786d8f4 100644
(file)
--- a/
doc/src/sgml/ddl.sgml
+++ b/
doc/src/sgml/ddl.sgml
@@
-4003,6
+4003,15
@@
ALTER INDEX measurement_city_id_logdate_key
</para>
</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>
<para>
<literal>BEFORE ROW</literal> triggers, if necessary, must be defined