From: Alvaro Herrera Date: Wed, 25 Mar 2015 17:16:47 +0000 (-0300) Subject: Fix gram.y comment to match reality X-Git-Tag: REL9_5_ALPHA1~559 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=dc8e05295ab126bc4c943cab3e8e117489ecb246;p=postgresql Fix gram.y comment to match reality There are other comments in there that don't precisely match what's implemented, but this one confused me enough to be worth fixing. --- diff --git a/src/backend/parser/gram.y b/src/backend/parser/gram.y index 2c4a5ccece..3aa9e42b5e 100644 --- a/src/backend/parser/gram.y +++ b/src/backend/parser/gram.y @@ -4545,10 +4545,10 @@ AlterUserMappingStmt: ALTER USER MAPPING FOR auth_ident SERVER name alter_generi /***************************************************************************** * * QUERIES: - * CREATE POLICY name ON table FOR cmd TO role USING (qual) - * WITH CHECK (with_check) - * ALTER POLICY name ON table FOR cmd TO role USING (qual) - * WITH CHECK (with_check) + * CREATE POLICY name ON table [FOR cmd] [TO role, ...] + * [USING (qual)] [WITH CHECK (with_check)] + * ALTER POLICY name ON table [TO role, ...] + * [USING (qual)] [WITH CHECK (with_check)] * DROP POLICY name ON table * *****************************************************************************/