From 7dacab976917c26cd9b6c4b36e53dbbf8261473b Mon Sep 17 00:00:00 2001 From: Peter Eisentraut Date: Thu, 30 Oct 2014 22:50:02 -0400 Subject: [PATCH] doc: Improve CREATE VIEW / WITH documentation Similar to 590eb0c14eebe834f716721a9659b77899cf3084, remove the options list from the synopsis and elaborate in the main description. --- doc/src/sgml/ref/create_view.sgml | 27 +++++++++++---------------- 1 file changed, 11 insertions(+), 16 deletions(-) diff --git a/doc/src/sgml/ref/create_view.sgml b/doc/src/sgml/ref/create_view.sgml index 2b7a98fe69..5dadab1dee 100644 --- a/doc/src/sgml/ref/create_view.sgml +++ b/doc/src/sgml/ref/create_view.sgml @@ -25,11 +25,6 @@ CREATE [ OR REPLACE ] [ TEMP | TEMPORARY ] [ RECURSIVE ] VIEW view_option_name [= view_option_value] [, ... ] ) ] AS query [ WITH [ CASCADED | LOCAL ] CHECK OPTION ] - -where view_option_name can be one of: - - security_barrier [ boolean ] - check_option [ text (local or cascaded) ] @@ -131,17 +126,7 @@ CREATE VIEW name AS WITH RECURSIVE name ( - security_barrier(boolean) - - - This should be used if the view is intended to provide row-level - security. See for full details. - - - - - - check_option(text) + check_option (string) This parameter may be either local or @@ -152,6 +137,16 @@ CREATE VIEW name AS WITH RECURSIVE name ( + + + security_barrier (string) + + + This should be used if the view is intended to provide row-level + security. See for full details. + + +