diff options
author | Bruce Momjian <bruce@momjian.us> | 2023-11-24 20:07:14 -0500 |
---|---|---|
committer | Bruce Momjian <bruce@momjian.us> | 2023-11-24 20:07:34 -0500 |
commit | 712dc2338b23196edd94619f43f24d23139cc0a9 (patch) | |
tree | 3306a2abf91de03b98ab799da576a9290843facc | |
parent | 798394c6ccdada517c3508047a865d9994bfe25f (diff) | |
download | postgresql-712dc2338b23196edd94619f43f24d23139cc0a9.tar.gz postgresql-712dc2338b23196edd94619f43f24d23139cc0a9.zip |
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
-rw-r--r-- | doc/src/sgml/ref/alter_table.sgml | 4 |
1 files changed, 2 insertions, 2 deletions
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 <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> |