From: Stephen Frost Date: Thu, 29 Jan 2015 03:59:03 +0000 (-0500) Subject: CREATE POLICY expression -> using_expression X-Git-Tag: REL9_5_ALPHA1~856 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=bb541812b8f67ae0341fa76fe3bb60f58671b8c7;p=postgresql 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. --- diff --git a/doc/src/sgml/ref/create_policy.sgml b/doc/src/sgml/ref/create_policy.sgml index 18ab4a78f9..cf464cb51f 100644 --- a/doc/src/sgml/ref/create_policy.sgml +++ b/doc/src/sgml/ref/create_policy.sgml @@ -24,7 +24,7 @@ PostgreSQL documentation CREATE POLICY name ON table_name [ FOR { ALL | SELECT | INSERT | UPDATE | DELETE } ] [ TO { role_name | PUBLIC } [, ...] ] - [ USING ( expression ) ] + [ USING ( using_expression ) ] [ WITH CHECK ( check_expression ) ] @@ -152,7 +152,7 @@ CREATE POLICY name ON - expression + using_expression Any SQL conditional expression (returning