mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-10-03 12:56:54 +02:00
Fixed "create role" parsing to accept optional "with" argument.
This commit is contained in:
parent
56d5641299
commit
9d3275e59d
@ -2378,6 +2378,10 @@ Wed, 20 Aug 2008 15:49:23 +0200
|
|||||||
Tue, 07 Oct 2008 14:35:26 +0200
|
Tue, 07 Oct 2008 14:35:26 +0200
|
||||||
|
|
||||||
- Synced parser.
|
- Synced parser.
|
||||||
|
|
||||||
|
Fri, 10 Oct 2008 14:03:05 +0200
|
||||||
|
|
||||||
|
- Fixed "create role" parsing to accept optional "with" argument.
|
||||||
- Set pgtypes library version to 3.1.
|
- Set pgtypes library version to 3.1.
|
||||||
- Set compat library version to 3.1.
|
- Set compat library version to 3.1.
|
||||||
- Set ecpg library version to 6.2.
|
- Set ecpg library version to 6.2.
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
/* $PostgreSQL: pgsql/src/interfaces/ecpg/preproc/preproc.y,v 1.374 2008/10/07 12:43:55 meskes Exp $ */
|
/* $PostgreSQL: pgsql/src/interfaces/ecpg/preproc/preproc.y,v 1.375 2008/10/10 12:17:18 meskes Exp $ */
|
||||||
|
|
||||||
/* Copyright comment */
|
/* Copyright comment */
|
||||||
%{
|
%{
|
||||||
@ -1011,7 +1011,7 @@ stmt: AlterDatabaseStmt { output_statement($1, 0, ECPGst_normal); }
|
|||||||
*****************************************************************************/
|
*****************************************************************************/
|
||||||
|
|
||||||
CreateRoleStmt: CREATE ROLE RoleId opt_with OptRoleList
|
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"); }
|
opt_with: WITH { $$ = make_str("with"); }
|
||||||
|
Loading…
Reference in New Issue
Block a user