mirror of
https://github.com/postgres/postgres.git
synced 2025-05-01 01:04: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
|
||||
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>
|
||||
|
Loading…
x
Reference in New Issue
Block a user