Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 4b22401

Browse files
committed
Document use of partial indexes for partial unique constraints
Report by Tomáš Greif Backpatch through 9.4
1 parent 4011f8c commit 4b22401

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

doc/src/sgml/ddl.sgml

+3-1
Original file line numberDiff line numberDiff line change
@@ -546,7 +546,9 @@ CREATE TABLE products (
546546

547547
<para>
548548
Adding a unique constraint will automatically create a unique btree
549-
index on the column or group of columns used in the constraint.
549+
index on the column or group of columns used in the constraint.
550+
A uniqueness constraint on only some rows can be enforced by creating
551+
a <link linkend="indexes-partial">partial index</link>.
550552
</para>
551553

552554
<indexterm>

0 commit comments

Comments
 (0)