Fixed bug in GRANT OPTION FOR parsing.
authorMichael Meskes
Sun, 4 Jan 2004 14:49:06 +0000 (14:49 +0000)
committerMichael Meskes
Sun, 4 Jan 2004 14:49:06 +0000 (14:49 +0000)
src/interfaces/ecpg/preproc/preproc.y

index f161b899ac5ea1f35c7c7bf0e5afd5f1dd03285c..b4df32963ed70392e4ad30c72d9f4ba024b4e50a 100644 (file)
@@ -1,4 +1,4 @@
-/* $PostgreSQL: pgsql/src/interfaces/ecpg/preproc/preproc.y,v 1.268 2003/12/24 22:04:09 meskes Exp $ */
+/* $PostgreSQL: pgsql/src/interfaces/ecpg/preproc/preproc.y,v 1.269 2004/01/04 14:49:06 meskes Exp $ */
 
 /* Copyright comment */
 %{
@@ -2018,7 +2018,7 @@ opt_grant_grant_option:  WITH GRANT OPTION
 opt_revoke_grant_option: GRANT OPTION FOR
        {
            mmerror(PARSE_ERROR, ET_WARNING, "Currently unsupported REVOKE/GRANT OPTION FOR will be passed to backend");
-           $$ = make_str("with grant option");
+           $$ = make_str("grant option for");
        }
        | /*EMPTY*/     { $$ = EMPTY; }
        ;