]> granicus.if.org Git - postgresql/commitdiff
docs: remove outdated note about unique indexes
authorBruce Momjian <bruce@momjian.us>
Mon, 31 Aug 2015 21:05:23 +0000 (17:05 -0400)
committerBruce Momjian <bruce@momjian.us>
Mon, 31 Aug 2015 21:05:23 +0000 (17:05 -0400)
Patch by Josh Kupershmidt

Backpatch through 9.5

doc/src/sgml/indices.sgml

index 309fd1269bd6056e3d0675fba8e4ac05a7aeae73..2d131c9109779223af849ed6d3bbc44aad66d614 100644 (file)
@@ -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>