doc: improve ALTER TABLE "offical constraint" wording
authorBruce Momjian <[email protected]>
Sat, 25 Nov 2023 01:07:14 +0000 (20:07 -0500)
committerBruce Momjian <[email protected]>
Sat, 25 Nov 2023 01:07:34 +0000 (20:07 -0500)
Reported-by: Josh Kupershmidt
Discussion: https://postgr.es/m/CAK3UJRF=KY_nx_TRQq+t6jOrtS2rry79ktkzPiMDhFx_K=dZAg@mail.gmail.com

Author: Josh Kupershmidt

Back-through: master

doc/src/sgml/ref/alter_table.sgml

index 2c4138e4e9f5c0e9541e8649d5e67fb094fa3813..e1d207bc60bd990b49402b1f5c62333fbf93020b 100644 (file)
@@ -525,8 +525,8 @@ WITH ( MODULUS <replaceable class="parameter">numeric_literal</replaceable>, REM
        Adding a constraint using an existing index can be helpful in
        situations where a new constraint needs to be added without blocking
        table updates for a long time.  To do that, create the index using
-       <command>CREATE INDEX CONCURRENTLY</command>, and then install it as an
-       official constraint using this syntax.  See the example below.
+       <command>CREATE UNIQUE INDEX CONCURRENTLY</command>, and then convert it to a
+       constraint using this syntax.  See the example below.
       </para>
      </note>
     </listitem>