mirror of
https://github.com/postgres/postgres.git
synced 2025-05-02 11:44:50 +03:00
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
This commit is contained in:
parent
798394c6cc
commit
712dc2338b
@ -525,8 +525,8 @@ WITH ( MODULUS <replaceable class="parameter">numeric_literal</replaceable>, REM
|
|||||||
Adding a constraint using an existing index can be helpful in
|
Adding a constraint using an existing index can be helpful in
|
||||||
situations where a new constraint needs to be added without blocking
|
situations where a new constraint needs to be added without blocking
|
||||||
table updates for a long time. To do that, create the index using
|
table updates for a long time. To do that, create the index using
|
||||||
<command>CREATE INDEX CONCURRENTLY</command>, and then install it as an
|
<command>CREATE UNIQUE INDEX CONCURRENTLY</command>, and then convert it to a
|
||||||
official constraint using this syntax. See the example below.
|
constraint using this syntax. See the example below.
|
||||||
</para>
|
</para>
|
||||||
</note>
|
</note>
|
||||||
</listitem>
|
</listitem>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user