Document use of partial indexes for partial unique constraints

Report by Tomáš Greif

Backpatch through 9.4
pull/14/head
Bruce Momjian 11 years ago
parent 4011f8c98b
commit 4b22401175
  1. 2
      doc/src/sgml/ddl.sgml

@ -547,6 +547,8 @@ CREATE TABLE products (
<para>
Adding a unique constraint will automatically create a unique btree
index on the column or group of columns used in the constraint.
A uniqueness constraint on only some rows can be enforced by creating
a <link linkend="indexes-partial">partial index</link>.
</para>
<indexterm>

Loading…
Cancel
Save