Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit6959e97

Browse files
committed
doc: mention that INSERT can block because of unique indexes
Initial patch by David G. Johnston.Reported-by: David G. JohnstonDiscussion:https://postgr.es/m/CAKFQuwZpbdzceO41VE-xt1Xh8rWRRfgopTAK1wL9EhCo0Am-Sw@mail.gmail.comBackpatch-through: 10
1 parent3e071b2 commit6959e97

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

‎doc/src/sgml/ref/insert.sgml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,11 @@ INSERT INTO <replaceable class="parameter">table_name</replaceable> [ AS <replac
7575
</para>
7676

7777
<para>
78+
<command>INSERT</command> into tables that lack unique indexes will
79+
not be blocked by concurrent activity. Tables with unique indexes
80+
might block if concurrent sessions perform actions that lock or modify
81+
rows matching the unique index values being inserted; the details
82+
are covered in <xref linkend="index-unique-checks"/>.
7883
<literal>ON CONFLICT</literal> can be used to specify an alternative
7984
action to raising a unique constraint or exclusion constraint
8085
violation error. (See <xref linkend="sql-on-conflict"/> below.)

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp