Skip to content
Snippets Groups Projects
Commit 4b224011 authored by Bruce Momjian's avatar Bruce Momjian
Browse files

Document use of partial indexes for partial unique constraints

Report by Tomáš Greif

Backpatch through 9.4
parent 4011f8c9
No related branches found
No related tags found
No related merge requests found
......@@ -546,7 +546,9 @@ 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.
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>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment