diff options
author | Bruce Momjian <bruce@momjian.us> | 2015-08-31 17:05:23 -0400 |
---|---|---|
committer | Bruce Momjian <bruce@momjian.us> | 2015-08-31 17:05:23 -0400 |
commit | 049a7799dfce096923da27a9b0e4a3c7a0a47104 (patch) | |
tree | f4c4463f20eea996eb23ac46a80b5951cd54ed25 | |
parent | cf25b2a2f9a4306637a985cee86a9a987c0b6a7c (diff) | |
download | postgresql-049a7799dfce096923da27a9b0e4a3c7a0a47104.tar.gz postgresql-049a7799dfce096923da27a9b0e4a3c7a0a47104.zip |
docs: remove outdated note about unique indexes
Patch by Josh Kupershmidt
Backpatch through 9.5
-rw-r--r-- | doc/src/sgml/indices.sgml | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/doc/src/sgml/indices.sgml b/doc/src/sgml/indices.sgml index 309fd1269bd..2d131c91097 100644 --- a/doc/src/sgml/indices.sgml +++ b/doc/src/sgml/indices.sgml @@ -655,11 +655,7 @@ CREATE UNIQUE INDEX <replaceable>name</replaceable> ON <replaceable>table</repla <note> <para> - The preferred way to add a unique constraint to a table is - <literal>ALTER TABLE ... ADD CONSTRAINT</literal>. The use of - indexes to enforce unique constraints could be considered an - implementation detail that should not be accessed directly. - One should, however, be aware that there's no need to manually + There's no need to manually create indexes on unique columns; doing so would just duplicate the automatically-created index. </para> |