Fixed bug in GRANT OPTION FOR parsing.

This commit is contained in:
Michael Meskes 2004-01-04 14:49:06 +00:00
parent 187b190adb
commit 40417169ba

View 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; }
;