aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMichael Meskes <meskes@postgresql.org>2008-10-10 12:19:18 +0000
committerMichael Meskes <meskes@postgresql.org>2008-10-10 12:19:18 +0000
commitf99df7c57316ddd77c545c3923fa17bd3f584ca1 (patch)
tree11422e81f27da7c0a4feb365eda40103d90cd17c /src
parent603ce026546552747ef8ee165a49de4d10380527 (diff)
downloadpostgresql-f99df7c57316ddd77c545c3923fa17bd3f584ca1.tar.gz
postgresql-f99df7c57316ddd77c545c3923fa17bd3f584ca1.zip
Optional argument should be optional.
Diffstat (limited to 'src')
-rw-r--r--src/interfaces/ecpg/preproc/preproc.y4
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"); }