Document that VALUES can be used in WITH
authorPeter Eisentraut
Sat, 14 Apr 2012 06:08:08 +0000 (09:08 +0300)
committerPeter Eisentraut
Sat, 14 Apr 2012 06:08:08 +0000 (09:08 +0300)
doc/src/sgml/ref/select.sgml

index 01c010462492b0a8a42e3cbbb4ab7e90d69691c9..7e989242587cbb897cf22ff05a565e77c0246957 100644 (file)
@@ -58,7 +58,7 @@ SELECT [ ALL | DISTINCT [ ON ( expression
 
 and with_query is:
 
-    with_query_name [ ( column_name [, ...] ) ] AS ( select | insert | update | delete )
+    with_query_name [ ( column_name [, ...] ) ] AS ( select | values | insert | update | delete )
 
 TABLE [ ONLY ] table_name [ * ]
 
@@ -208,7 +208,7 @@ TABLE [ ONLY ] table_name [ * ]
     subqueries that can be referenced by name in the primary query.
     The subqueries effectively act as temporary tables or views
     for the duration of the primary query.
-    Each subquery can be a SELECT,
+    Each subquery can be a SELECT, VALUES,
     INSERTUPDATE or
     DELETE statement.
     When writing a data-modifying statement (INSERT,