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:
ba3b945
)
Optional arguments should be optional.
author
Michael Meskes
<
[email protected]
>
Fri, 10 Oct 2008 12:19:32 +0000
(12:19 +0000)
committer
Michael Meskes
<
[email protected]
>
Fri, 10 Oct 2008 12:19:32 +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 b8cf4d9aaeadea41f8124347aaf98d6ebfb6adaf..f0637f6e40acc64b361af8687dc8f228287456c1 100644
(file)
--- a/
src/interfaces/ecpg/preproc/preproc.y
+++ b/
src/interfaces/ecpg/preproc/preproc.y
@@
-913,7
+913,7
@@
stmt: AlterDatabaseStmt { output_statement($1, 0, connection); }
*****************************************************************************/
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"); }