Skip to content

Commit bb54181

Browse files
committed
CREATE POLICY expression -> using_expression
The syntax for CREATE POLICY simply used "expression" for the USING expression, while the WITH CHECK expression was "check_expression". Given that we have two expressions, it's sensible to explcitly name both to maintain clarity. This patch simply changes the generic "expression" to be "using_expression". Pointed out by Peter Geoghegan.
1 parent 42f66b2 commit bb54181

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

doc/src/sgml/ref/create_policy.sgml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ PostgreSQL documentation
2424
CREATE POLICY <replaceable class="parameter">name</replaceable> ON <replaceable class="parameter">table_name</replaceable>
2525
[ FOR { ALL | SELECT | INSERT | UPDATE | DELETE } ]
2626
[ TO { <replaceable class="parameter">role_name</replaceable> | PUBLIC } [, ...] ]
27-
[ USING ( <replaceable class="parameter">expression</replaceable> ) ]
27+
[ USING ( <replaceable class="parameter">using_expression</replaceable> ) ]
2828
[ WITH CHECK ( <replaceable class="parameter">check_expression</replaceable> ) ]
2929
</synopsis>
3030
</refsynopsisdiv>
@@ -152,7 +152,7 @@ CREATE POLICY <replaceable class="parameter">name</replaceable> ON <replaceable
152152
</varlistentry>
153153

154154
<varlistentry>
155-
<term><replaceable class="parameter">expression</replaceable></term>
155+
<term><replaceable class="parameter">using_expression</replaceable></term>
156156
<listitem>
157157
<para>
158158
Any <acronym>SQL</acronym> conditional expression (returning

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy