projects
/
users
/
gsingh
/
postgres.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4011f8c
)
Document use of partial indexes for partial unique constraints
author
Bruce Momjian
<bruce@momjian.us>
Wed, 3 Sep 2014 18:32:57 +0000
(14:32 -0400)
committer
Bruce Momjian
<bruce@momjian.us>
Wed, 3 Sep 2014 18:32:57 +0000
(14:32 -0400)
Report by Tomáš Greif
Backpatch through 9.4
doc/src/sgml/ddl.sgml
patch
|
blob
|
blame
|
history
diff --git
a/doc/src/sgml/ddl.sgml
b/doc/src/sgml/ddl.sgml
index 0fcd9f87062c7eb7c90c5c105fa81644edb91873..c07f5a203dde0b2161b1912d260a44e398a2ce79 100644
(file)
--- a/
doc/src/sgml/ddl.sgml
+++ b/
doc/src/sgml/ddl.sgml
@@
-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>