1
0
mirror of https://github.com/postgres/postgres.git synced 2025-11-18 02:02:55 +03:00

Doc: cover index CONCURRENTLY causing errors in INSERT ... ON CONFLICT.

Author: Mikhail Nikalayeu <mihailnikalayeu@gmail.com>
Reviewed-by: Noah Misch <noah@leadboat.com>
Discussion: https://postgr.es/m/CANtu0ojXmqjmEzp-=aJSxjsdE76iAsRgHBoK0QtYHimb_mEfsg@mail.gmail.com
Backpatch-through: 13
This commit is contained in:
Noah Misch
2025-11-03 12:57:09 -08:00
parent 78d542b2bc
commit 438ccd33a3
2 changed files with 14 additions and 0 deletions

View File

@@ -556,6 +556,15 @@ INSERT INTO <replaceable class="parameter">table_name</replaceable> [ AS <replac
</para>
</tip>
<warning>
<para>
While <command>CREATE INDEX CONCURRENTLY</command> or <command>REINDEX
CONCURRENTLY</command> is running on a unique index, <command>INSERT
... ON CONFLICT</command> statements on the same table may unexpectedly
fail with a unique violation.
</para>
</warning>
</refsect2>
</refsect1>