diff options
author | Michael Meskes <meskes@postgresql.org> | 2008-10-10 12:19:32 +0000 |
---|---|---|
committer | Michael Meskes <meskes@postgresql.org> | 2008-10-10 12:19:32 +0000 |
commit | 77aa91579722022339e725a04f868a69a034420b (patch) | |
tree | 6f11fc8ee4418af7d556efc9c890fc80fccad8a1 | |
parent | 3e5ed167d42814b5d606f01e02c3b3967328350a (diff) | |
download | postgresql-77aa91579722022339e725a04f868a69a034420b.tar.gz postgresql-77aa91579722022339e725a04f868a69a034420b.zip |
Optional arguments should be optional.
-rw-r--r-- | src/interfaces/ecpg/preproc/preproc.y | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/interfaces/ecpg/preproc/preproc.y b/src/interfaces/ecpg/preproc/preproc.y index 93e0c4fd842..42caa32a51b 100644 --- a/src/interfaces/ecpg/preproc/preproc.y +++ b/src/interfaces/ecpg/preproc/preproc.y @@ -1,4 +1,4 @@ -/* $PostgreSQL: pgsql/src/interfaces/ecpg/preproc/preproc.y,v 1.311.2.7 2008/06/05 06:25:23 meskes Exp $ */ +/* $PostgreSQL: pgsql/src/interfaces/ecpg/preproc/preproc.y,v 1.311.2.8 2008/10/10 12:19:32 meskes Exp $ */ /* Copyright comment */ %{ @@ -913,7 +913,7 @@ stmt: AlterDatabaseStmt { output_statement($1, 0, connection); } *****************************************************************************/ CreateRoleStmt: CREATE ROLE RoleId opt_with OptRoleList - { $$ = cat_str(4, make_str("create role"), $3, make_str("with"), $5); } + { $$ = cat_str(4, make_str("create role"), $3, $4, $5); } ; opt_with: WITH { $$ = make_str("with"); } |