mirror of
https://github.com/postgres/postgres.git
synced 2025-05-17 06:41:24 +03:00
Optional argument should be optional.
This commit is contained in:
parent
c15b9a505d
commit
74f7c8e4d6
@ -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 */
|
/* Copyright comment */
|
||||||
%{
|
%{
|
||||||
@ -842,7 +842,7 @@ stmt: AlterDatabaseSetStmt { output_statement($1, 0, connection); }
|
|||||||
*****************************************************************************/
|
*****************************************************************************/
|
||||||
|
|
||||||
CreateUserStmt: CREATE USER UserId opt_with OptUserList
|
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"); }
|
opt_with: WITH { $$ = make_str("with"); }
|
||||||
|
Loading…
x
Reference in New Issue
Block a user