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

Commitafc8ee1

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 parentac480b0 commitafc8ee1

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
@@ -182,7 +182,7 @@ INSERT INTO <replaceable class="parameter">table_name</replaceable> [ AS <replac
182182
provided, it completely hides the actual name of the table.
183183
This is particularly useful when <literal>ON CONFLICT DO UPDATE</literal>
184184
targets a table named <varname>excluded</varname>, since that will otherwise
185-
be taken as the name of the special table representingrows proposed
185+
be taken as the name of the special table representingthe row proposed
186186
for insertion.
187187
</para>
188188
</listitem>
@@ -389,7 +389,7 @@ INSERT INTO <replaceable class="parameter">table_name</replaceable> [ AS <replac
389389
conflict. The <literal>SET</literal> and
390390
<literal>WHERE</literal> clauses in <literal>ON CONFLICT DO
391391
UPDATE</literal> have access to the existing row using the
392-
table's name (or an alias), and torows proposed for insertion
392+
table's name (or an alias), and tothe row proposed for insertion
393393
using the special <varname>excluded</varname> table.
394394
<literal>SELECT</literal> privilege is required on any column in the
395395
target table where corresponding <varname>excluded</varname>

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp