MERGE INSERT allows only one VALUES clause
authorSimon Riggs
Thu, 5 Apr 2018 11:03:42 +0000 (12:03 +0100)
committerSimon Riggs
Thu, 5 Apr 2018 11:03:42 +0000 (12:03 +0100)
Doc syntax and brief mention of restriction

doc/src/sgml/ref/merge.sgml

index 0ca3d26ff4848001eb5421a5d006ee6fd5d81355..31ba7a841d127fc6e927dec5e3e2e2aabdf6f53e 100644 (file)
@@ -41,7 +41,7 @@ and merge_insert is
 
 INSERT [( column_name [, ...] )]
 [ OVERRIDING { SYSTEM | USER } VALUE ]
-{ VALUES ( { expression | DEFAULT } [, ...] ) | DEFAULT VALUES }
+{ VALUES ( { expression | DEFAULT } ) | DEFAULT VALUES }
 
 and merge_update is
 
@@ -285,6 +285,7 @@ DELETE
       INSERT actions cannot contain sub-selects. 
      
      
+      Only one VALUES clause can be specified.
       The VALUES clause can only refer to columns from
       the source relation, since by definition there is no matching target row.