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:
7063973
)
Optional arguments should be optional.
author
Michael Meskes
<
[email protected]
>
Fri, 10 Oct 2008 12:20:06 +0000
(12:20 +0000)
committer
Michael Meskes
<
[email protected]
>
Fri, 10 Oct 2008 12:20:06 +0000
(12:20 +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 1087e7a1272195d47380993422c6296f4e5f0fdd..53aca89ba2d1dfe0877d7c1fd324ceb8b5a1c77b 100644
(file)
--- a/
src/interfaces/ecpg/preproc/preproc.y
+++ b/
src/interfaces/ecpg/preproc/preproc.y
@@
-1007,7
+1007,7
@@
stmt: AlterDatabaseStmt { output_statement($1, 0, ECPGst_normal); }
*****************************************************************************/
CreateRoleStmt: CREATE ROLE RoleId opt_with OptRoleList
- { $$ = cat_str(4, make_str("create role"), $3,
make_str("with")
, $5); }
+ { $$ = cat_str(4, make_str("create role"), $3,
$4
, $5); }
;
opt_with: WITH { $$ = make_str("with"); }