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

Commit7e786a8

Browse files
author
Michael Meskes
committed
Fixed more parsing bugs in other CREATE statements as pointed out by TANIDA
Yutaka <tanida@sra.co.jp>.
1 parent35878b9 commit7e786a8

File tree

2 files changed

+8
-3
lines changed

2 files changed

+8
-3
lines changed

‎src/interfaces/ecpg/ChangeLog

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1906,5 +1906,10 @@ Wed Feb 2 16:35:27 CET 2005
19061906
Wed Feb 9 12:24:03 CET 2005
19071907

19081908
- Fixed bug in parsing of CREATE AS statement.
1909+
1910+
Thu Feb 10 09:03:56 CET 2005
1911+
1912+
- Fixed more parsing bugs in other CREATE statements. Thanks to TANIDA
1913+
Yutaka <tanida@sra.co.jp> for pointing out all these problems.
19091914
- Set ecpg version to 3.2.1.
19101915

‎src/interfaces/ecpg/preproc/preproc.y

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* $PostgreSQL: pgsql/src/interfaces/ecpg/preproc/preproc.y,v 1.306 2005/02/09 11:26:44 meskes Exp $*/
1+
/* $PostgreSQL: pgsql/src/interfaces/ecpg/preproc/preproc.y,v 1.307 2005/02/10 08:06:35 meskes Exp $*/
22

33
/* Copyright comment*/
44
%{
@@ -1621,7 +1621,7 @@ CreateAsElement: ColId { $$ = $1; }
16211621
*****************************************************************************/
16221622

16231623
CreateSeqStmt:CREATEOptTempSEQUENCEqualified_nameOptSeqList
1624-
{$$ = cat_str(4, make_str("create"),$2, make_str("sequence"),$4,$5); }
1624+
{$$ = cat_str(5, make_str("create"),$2, make_str("sequence"),$4,$5); }
16251625
;
16261626

16271627
AlterSeqStmt:ALTERSEQUENCEqualified_nameOptSeqList
@@ -2705,7 +2705,7 @@ DropdbStmt: DROP DATABASE database_name
27052705

27062706
CreateDomainStmt:CREATEDOMAIN_Pany_nameopt_asTypenameColQualList
27072707
{
2708-
$$ = cat_str(55555, make_str("create domain"),$3,$4,$5,$6);
2708+
$$ = cat_str(5, make_str("create domain"),$3,$4,$5,$6);
27092709
}
27102710
;
27112711

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp