projects
/
users
/
bernd
/
postgres.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b507e87
)
Optional argument should be optional.
author
Michael Meskes
<
[email protected]
>
Fri, 10 Oct 2008 12:19:03 +0000
(12:19 +0000)
committer
Michael Meskes
<
[email protected]
>
Fri, 10 Oct 2008 12:19:03 +0000
(12:19 +0000)
src/interfaces/ecpg/preproc/preproc.y
patch
|
blob
|
blame
|
history
diff --git
a/src/interfaces/ecpg/preproc/preproc.y
b/src/interfaces/ecpg/preproc/preproc.y
index cdbb5b64197db116b738a52d6254dfc4bd0b5725..c5cb0b7b29d2722d314fb2e54600198c0a4561e2 100644
(file)
--- a/
src/interfaces/ecpg/preproc/preproc.y
+++ b/
src/interfaces/ecpg/preproc/preproc.y
@@
-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"); }