Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit9d3275e

Browse files
author
Michael Meskes
committed
Fixed "create role" parsing to accept optional "with" argument.
1 parent56d5641 commit9d3275e

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

‎src/interfaces/ecpg/ChangeLog

Lines changed: 4 additions & 0 deletions
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

Lines changed: 2 additions & 2 deletions
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:CREATEROLERoleIdopt_withOptRoleList
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)

[8]ページ先頭

©2009-2025 Movatter.jp