Skip to content

Commit a5d8618

Browse files
MERGE INSERT allows only one VALUES clause
Doc syntax and brief mention of restriction
1 parent 17d8beb commit a5d8618

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

doc/src/sgml/ref/merge.sgml

+2-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ and <replaceable class="parameter">merge_insert</replaceable> is
4141

4242
INSERT [( <replaceable class="parameter">column_name</replaceable> [, ...] )]
4343
[ OVERRIDING { SYSTEM | USER } VALUE ]
44-
{ VALUES ( { <replaceable class="parameter">expression</replaceable> | DEFAULT } [, ...] ) | DEFAULT VALUES }
44+
{ VALUES ( { <replaceable class="parameter">expression</replaceable> | DEFAULT } ) | DEFAULT VALUES }
4545

4646
and <replaceable class="parameter">merge_update</replaceable> is
4747

@@ -285,6 +285,7 @@ DELETE
285285
<command>INSERT</command> actions cannot contain sub-selects.
286286
</para>
287287
<para>
288+
Only one <literal>VALUES</literal> clause can be specified.
288289
The <literal>VALUES</literal> clause can only refer to columns from
289290
the source relation, since by definition there is no matching target row.
290291
</para>

0 commit comments

Comments
 (0)