From aacc50d1758632550bebc4911857b323d65f0996 Mon Sep 17 00:00:00 2001 From: Peter Eisentraut Date: Sat, 14 Apr 2012 09:08:08 +0300 Subject: [PATCH] Document that VALUES can be used in WITH --- doc/src/sgml/ref/select.sgml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/src/sgml/ref/select.sgml b/doc/src/sgml/ref/select.sgml index 01c01046249..7e989242587 100644 --- a/doc/src/sgml/ref/select.sgml +++ b/doc/src/sgml/ref/select.sgml @@ -58,7 +58,7 @@ SELECT [ ALL | DISTINCT [ ON ( expressionand 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, INSERT, UPDATE or DELETE statement. When writing a data-modifying statement (INSERT,