diff options
author | Michael Meskes <meskes@postgresql.org> | 2008-10-10 12:19:18 +0000 |
---|---|---|
committer | Michael Meskes <meskes@postgresql.org> | 2008-10-10 12:19:18 +0000 |
commit | f99df7c57316ddd77c545c3923fa17bd3f584ca1 (patch) | |
tree | 11422e81f27da7c0a4feb365eda40103d90cd17c /src | |
parent | 603ce026546552747ef8ee165a49de4d10380527 (diff) | |
download | postgresql-f99df7c57316ddd77c545c3923fa17bd3f584ca1.tar.gz postgresql-f99df7c57316ddd77c545c3923fa17bd3f584ca1.zip |
Optional argument should be optional.
Diffstat (limited to 'src')
-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 5d6d0903194..a975f03a675 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.303.4.8 2007/11/06 08:33:18 meskes Exp $ */ +/* $PostgreSQL: pgsql/src/interfaces/ecpg/preproc/preproc.y,v 1.303.4.9 2008/10/10 12:19:18 meskes Exp $ */ /* Copyright comment */ %{ @@ -893,7 +893,7 @@ stmt: AlterDatabaseSetStmt { output_statement($1, 0, connection); } *****************************************************************************/ CreateUserStmt: CREATE USER UserId opt_with OptUserList - { $$ = cat_str(4, make_str("create user"), $3, make_str("with"), $5); } + { $$ = cat_str(4, make_str("create user"), $3, $4, $5); } ; opt_with: WITH { $$ = make_str("with"); } |