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

Commit4f63f6a

Browse files
committed
doc: clarify that "excluded" ON CONFLICT is a single row
Original patch by David G. Johnston.Reported-by: David G. JohnstonDiscussion:https://postgr.es/m/CAKFQuwa4J0+WuO7kW1PLbjoEvzPN+Q_j+P2bXxNnCLaszY7ZdQ@mail.gmail.comBackpatch-through: 10
1 parent6959e97 commit4f63f6a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ INSERT INTO <replaceable class="parameter">table_name</replaceable> [ AS <replac
181181
provided, it completely hides the actual name of the table.
182182
This is particularly useful when <literal>ON CONFLICT DO UPDATE</literal>
183183
targets a table named <varname>excluded</varname>, since that will otherwise
184-
be taken as the name of the special table representingrows proposed
184+
be taken as the name of the special table representingthe row proposed
185185
for insertion.
186186
</para>
187187
</listitem>
@@ -401,7 +401,7 @@ INSERT INTO <replaceable class="parameter">table_name</replaceable> [ AS <replac
401401
conflict. The <literal>SET</literal> and
402402
<literal>WHERE</literal> clauses in <literal>ON CONFLICT DO
403403
UPDATE</literal> have access to the existing row using the
404-
table's name (or an alias), and torows proposed for insertion
404+
table's name (or an alias), and tothe row proposed for insertion
405405
using the special <varname>excluded</varname> table.
406406
<literal>SELECT</literal> privilege is required on any column in the
407407
target table where corresponding <varname>excluded</varname>

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp