Optional argument should be optional.
authorMichael Meskes <meskes@postgresql.org>
Fri, 10 Oct 2008 12:19:03 +0000 (12:19 +0000)
committerMichael Meskes <meskes@postgresql.org>
Fri, 10 Oct 2008 12:19:03 +0000 (12:19 +0000)
src/interfaces/ecpg/preproc/preproc.y

index b2f9f25ade9d8675e7ecd6c831d38e25c2ef6571..bb839973d86ffe6d847cae5fff28d552b2441d62 100644 (file)
@@ -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"); }