Content-Length: 262138 | pFad | http://github.com/postgrespro/postgres/commit/2b888647d864c5341fd0fb628c3773304282dc1d

A9 Doc: Improve clarity on partitioned table limitations · postgrespro/postgres@2b88864 · GitHub
Skip to content

Commit 2b88864

Browse files
committed
Doc: Improve clarity on partitioned table limitations
Explicitly mention that primary key constraints are also included in the limitation that the constraint columns must be a superset of the partition key columns. Wording suggestion from Tom Lane. Discussion: https://postgr.es/m/64062533.78364.1601415362244@mail.yahoo.com Backpatch-through: 11, where unique constraints on partitioned tables were added
1 parent a094c8f commit 2b88864

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

doc/src/sgml/ddl.sgml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4056,8 +4056,8 @@ ALTER INDEX measurement_city_id_logdate_key
40564056

40574057
<listitem>
40584058
<para>
4059-
Unique constraints on partitioned tables must include all the
4060-
partition key columns. This limitation exists because
4059+
Unique constraints (and hence primary keys) on partitioned tables must
4060+
include all the partition key columns. This limitation exists because
40614061
<productname>PostgreSQL</productname> can only enforce
40624062
uniqueness in each partition individually.
40634063
</para>

0 commit comments

Comments
 (0)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/postgrespro/postgres/commit/2b888647d864c5341fd0fb628c3773304282dc1d

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy