Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
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

+2-2
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)