Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 9d3275e

Browse files
author
Michael Meskes
committed
Fixed "create role" parsing to accept optional "with" argument.
1 parent 56d5641 commit 9d3275e

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

src/interfaces/ecpg/ChangeLog

+4
Original file line numberDiff line numberDiff line change
@@ -2378,6 +2378,10 @@ Wed, 20 Aug 2008 15:49:23 +0200
23782378
Tue, 07 Oct 2008 14:35:26 +0200
23792379

23802380
- Synced parser.
2381+
2382+
Fri, 10 Oct 2008 14:03:05 +0200
2383+
2384+
- Fixed "create role" parsing to accept optional "with" argument.
23812385
- Set pgtypes library version to 3.1.
23822386
- Set compat library version to 3.1.
23832387
- Set ecpg library version to 6.2.

src/interfaces/ecpg/preproc/preproc.y

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* $PostgreSQL: pgsql/src/interfaces/ecpg/preproc/preproc.y,v 1.374 2008/10/07 12:43:55 meskes Exp $ */
1+
/* $PostgreSQL: pgsql/src/interfaces/ecpg/preproc/preproc.y,v 1.375 2008/10/10 12:17:18 meskes Exp $ */
22

33
/* Copyright comment */
44
%{
@@ -1011,7 +1011,7 @@ stmt: AlterDatabaseStmt { output_statement($1, 0, ECPGst_normal); }
10111011
*****************************************************************************/
10121012

10131013
CreateRoleStmt: CREATE ROLE RoleId opt_with OptRoleList
1014-
{ $$ = cat_str(4, make_str("create role"), $3, make_str("with"), $5); }
1014+
{ $$ = cat_str(4, make_str("create role"), $3, $4, $5); }
10151015
;
10161016

10171017
opt_with: WITH { $$ = make_str("with"); }

0 commit comments

Comments
 (0)