From: Bruce Momjian Date: Sat, 25 Nov 2023 01:07:14 +0000 (-0500) Subject: doc: improve ALTER TABLE "offical constraint" wording X-Git-Tag: REL_17_BETA1~1409 X-Git-Url: http://git.postgresql.org/gitweb/?a=commitdiff_plain;h=712dc2338b23196edd94619f43f24d23139cc0a9;p=postgresql.git doc: improve ALTER TABLE "offical constraint" wording Reported-by: Josh Kupershmidt Discussion: https://postgr.es/m/CAK3UJRF=KY_nx_TRQq+t6jOrtS2rry79ktkzPiMDhFx_K=dZAg@mail.gmail.com Author: Josh Kupershmidt Backpatch-through: master --- diff --git a/doc/src/sgml/ref/alter_table.sgml b/doc/src/sgml/ref/alter_table.sgml index 2c4138e4e9f..e1d207bc60b 100644 --- a/doc/src/sgml/ref/alter_table.sgml +++ b/doc/src/sgml/ref/alter_table.sgml @@ -525,8 +525,8 @@ WITH ( MODULUS numeric_literal, 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 - CREATE INDEX CONCURRENTLY, and then install it as an - official constraint using this syntax. See the example below. + CREATE UNIQUE INDEX CONCURRENTLY, and then convert it to a + constraint using this syntax. See the example below.