Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cf25b2a commit 049a779Copy full SHA for 049a779
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