]> granicus.if.org Git - postgresql/commitdiff
Fix gram.y comment to match reality
authorAlvaro Herrera <alvherre@alvh.no-ip.org>
Wed, 25 Mar 2015 17:16:47 +0000 (14:16 -0300)
committerAlvaro Herrera <alvherre@alvh.no-ip.org>
Wed, 25 Mar 2015 17:16:47 +0000 (14:16 -0300)
There are other comments in there that don't precisely match what's
implemented, but this one confused me enough to be worth fixing.

src/backend/parser/gram.y

index 2c4a5ccece8619e904f01bb96728ba54e32ffe3d..3aa9e42b5ea49f8ac90ac52fe49bfef8b16888a9 100644 (file)
@@ -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
  *
  *****************************************************************************/