diff options
| author | Bruce Momjian <bruce@momjian.us> | 2015-08-31 17:05:22 -0400 |
|---|---|---|
| committer | Bruce Momjian <bruce@momjian.us> | 2015-08-31 17:05:22 -0400 |
| commit | 06502185d8352258560b7fad82571d159dff8658 (patch) | |
| tree | 788056166fe4cca3623e73b7a1ea5fdb5a661fb1 /doc/src | |
| parent | bda58e98d535762b46a9d6315f4e49d9c93e81d8 (diff) | |
docs: remove outdated note about unique indexes
Patch by Josh Kupershmidt
Backpatch through 9.5
Diffstat (limited to 'doc/src')
| -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> |
