mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-10-02 13:41:15 +02:00
MERGE INSERT allows only one VALUES clause
Doc syntax and brief mention of restriction
This commit is contained in:
parent
17d8beb4f5
commit
a5d86181ec
@ -41,7 +41,7 @@ and <replaceable class="parameter">merge_insert</replaceable> is
|
|||||||
|
|
||||||
INSERT [( <replaceable class="parameter">column_name</replaceable> [, ...] )]
|
INSERT [( <replaceable class="parameter">column_name</replaceable> [, ...] )]
|
||||||
[ OVERRIDING { SYSTEM | USER } VALUE ]
|
[ OVERRIDING { SYSTEM | USER } VALUE ]
|
||||||
{ VALUES ( { <replaceable class="parameter">expression</replaceable> | DEFAULT } [, ...] ) | DEFAULT VALUES }
|
{ VALUES ( { <replaceable class="parameter">expression</replaceable> | DEFAULT } ) | DEFAULT VALUES }
|
||||||
|
|
||||||
and <replaceable class="parameter">merge_update</replaceable> is
|
and <replaceable class="parameter">merge_update</replaceable> is
|
||||||
|
|
||||||
@ -285,6 +285,7 @@ DELETE
|
|||||||
<command>INSERT</command> actions cannot contain sub-selects.
|
<command>INSERT</command> actions cannot contain sub-selects.
|
||||||
</para>
|
</para>
|
||||||
<para>
|
<para>
|
||||||
|
Only one <literal>VALUES</literal> clause can be specified.
|
||||||
The <literal>VALUES</literal> clause can only refer to columns from
|
The <literal>VALUES</literal> clause can only refer to columns from
|
||||||
the source relation, since by definition there is no matching target row.
|
the source relation, since by definition there is no matching target row.
|
||||||
</para>
|
</para>
|
||||||
|
Loading…
Reference in New Issue
Block a user