diff options
author | Alvaro Herrera | 2015-03-25 17:16:47 +0000 |
---|---|---|
committer | Alvaro Herrera | 2015-03-25 17:16:47 +0000 |
commit | dc8e05295ab126bc4c943cab3e8e117489ecb246 (patch) | |
tree | 1e711541efc325a00e486b08d6077ec5e4784169 /src | |
parent | 11226e3817687fcb70fb49d75fdf592e7f3884f6 (diff) |
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.
Diffstat (limited to 'src')
-rw-r--r-- | src/backend/parser/gram.y | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/backend/parser/gram.y b/src/backend/parser/gram.y index 2c4a5ccece8..3aa9e42b5ea 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 * *****************************************************************************/ |