git.postgresql.org Git - postgresql.git/commitdiff

git projects / postgresql.git / commitdiff
? search:
summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 17d8beb)
MERGE INSERT allows only one VALUES clause
Thu, 5 Apr 2018 11:03:42 +0000 (12:03 +0100)
Thu, 5 Apr 2018 11:03:42 +0000 (12:03 +0100)
Doc syntax and brief mention of restriction


diff --git a/doc/src/sgml/ref/merge.sgml b/doc/src/sgml/ref/merge.sgml
index 0ca3d26ff4848001eb5421a5d006ee6fd5d81355..31ba7a841d127fc6e927dec5e3e2e2aabdf6f53e 100644 (file)
--- a/doc/src/sgml/ref/merge.sgml
+++ b/doc/src/sgml/ref/merge.sgml
@@ -41,7 +41,7 @@ and <replaceable class="parameter">merge_insert</replaceable> is
INSERT [( <replaceable class="parameter">column_name</replaceable> [, ...] )]
[ 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
@@ -285,6 +285,7 @@ DELETE
<command>INSERT</command> actions cannot contain sub-selects.
</para>
<para>
+ Only one <literal>VALUES</literal> clause can be specified.
The <literal>VALUES</literal> clause can only refer to columns from
the source relation, since by definition there is no matching target row.
</para>
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /