Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit5918b82

Browse files
committed
Mention limitation of unique in partitioned tables
Per gripe from Phil Bayer.Authors: Amit Langote and othersDiscussion:https://postgr.es/m/156236160709.1192.4498528196556144085@wrigleys.postgresql.org
1 parent2ede93d commit5918b82

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
@@ -3386,6 +3386,15 @@ ALTER INDEX measurement_city_id_logdate_key
33863386
</para>
33873387
</listitem>
33883388

3389+
<listitem>
3390+
<para>
3391+
Unique constraints on partitioned tables must include all the
3392+
partition key columns. This limitation exists because
3393+
<productname>PostgreSQL</productname> can only enforce
3394+
uniqueness in each partition individually.
3395+
</para>
3396+
</listitem>
3397+
33893398
<listitem>
33903399
<para>
33913400
While primary keys are supported on partitioned tables, foreign

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp