We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bda58e9 commit 0650218Copy full SHA for 0650218
doc/src/sgml/indices.sgml
@@ -655,11 +655,7 @@ CREATE UNIQUE INDEX <replaceable>name</replaceable> ON <replaceable>table</repla
655
656
<note>
657
<para>
658
- The preferred way to add a unique constraint to a table is
659
- <literal>ALTER TABLE ... ADD CONSTRAINT</literal>. The use of
660
- indexes to enforce unique constraints could be considered an
661
- implementation detail that should not be accessed directly.
662
- One should, however, be aware that there's no need to manually
+ There's no need to manually
663
create indexes on unique columns; doing so would just duplicate
664
the automatically-created index.
665
</para>
0 commit comments