diff options
author | Michael Meskes <meskes@postgresql.org> | 2008-10-10 12:19:03 +0000 |
---|---|---|
committer | Michael Meskes <meskes@postgresql.org> | 2008-10-10 12:19:03 +0000 |
commit | 74f7c8e4d6f10ac7e345b0047670a36e6e464d2d (patch) | |
tree | e9b7c5dfa2dfd0ed5a9c99bf5ff1eab529d2bb47 /src | |
parent | c15b9a505d47b4a60e0031293ac01fe442348661 (diff) | |
download | postgresql-74f7c8e4d6f10ac7e345b0047670a36e6e464d2d.tar.gz postgresql-74f7c8e4d6f10ac7e345b0047670a36e6e464d2d.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 b2f9f25ade9..bb839973d86 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.263.2.22 2007/11/06 08:33:32 meskes Exp $ */ +/* $PostgreSQL: pgsql/src/interfaces/ecpg/preproc/preproc.y,v 1.263.2.23 2008/10/10 12:19:03 meskes Exp $ */ /* Copyright comment */ %{ @@ -842,7 +842,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"); } |