@@ -25,11 +25,6 @@ CREATE [ OR REPLACE ] [ TEMP | TEMPORARY ] [ RECURSIVE ] VIEW <replaceable class
25
25
[ WITH ( <replaceable class="PARAMETER">view_option_name</replaceable> [= <replaceable class="PARAMETER">view_option_value</replaceable>] [, ... ] ) ]
26
26
AS <replaceable class="PARAMETER">query</replaceable>
27
27
[ WITH [ CASCADED | LOCAL ] CHECK OPTION ]
28
-
29
- <phrase>where <replaceable class="parameter">view_option_name</replaceable> can be one of:</phrase>
30
-
31
- security_barrier [ <replaceable class="parameter">boolean</replaceable> ]
32
- check_option [ <replaceable class="parameter">text</replaceable> (<literal>local</literal> or <literal>cascaded</literal>) ]
33
28
</synopsis>
34
29
</refsynopsisdiv>
35
30
@@ -131,24 +126,24 @@ CREATE VIEW <replaceable>name</> AS WITH RECURSIVE <replaceable>name</> (<replac
131
126
132
127
<variablelist>
133
128
<varlistentry>
134
- <term><literal>security_barrier(boolean) </literal></term>
129
+ <term><literal>check_option </literal> (<type>string</type>) </term>
135
130
<listitem>
136
131
<para>
137
- This should be used if the view is intended to provide row-level
138
- security. See <xref linkend="rules-privileges"> for full details.
132
+ This parameter may be either <literal>local</> or
133
+ <literal>cascaded</>, and is equivalent to specifying
134
+ <literal>WITH [ CASCADED | LOCAL ] CHECK OPTION</> (see below).
135
+ This option can be changed on existing views using <xref
136
+ linkend="sql-alterview">.
139
137
</para>
140
138
</listitem>
141
139
</varlistentry>
142
140
143
141
<varlistentry>
144
- <term><literal>check_option(text) </literal></term>
142
+ <term><literal>security_barrier </literal> (<type>string</type>) </term>
145
143
<listitem>
146
144
<para>
147
- This parameter may be either <literal>local</> or
148
- <literal>cascaded</>, and is equivalent to specifying
149
- <literal>WITH [ CASCADED | LOCAL ] CHECK OPTION</> (see below).
150
- This option can be changed on existing views using <xref
151
- linkend="sql-alterview">.
145
+ This should be used if the view is intended to provide row-level
146
+ security. See <xref linkend="rules-privileges"> for full details.
152
147
</para>
153
148
</listitem>
154
149
</varlistentry>
0 commit comments