Commit 7e786a82 authored by Michael Meskes's avatar Michael Meskes

Fixed more parsing bugs in other CREATE statements as pointed out by TANIDA

Yutaka <tanida@sra.co.jp>.
parent 35878b9b
......@@ -1906,5 +1906,10 @@ Wed Feb 2 16:35:27 CET 2005
Wed Feb 9 12:24:03 CET 2005
- Fixed bug in parsing of CREATE AS statement.
Thu Feb 10 09:03:56 CET 2005
- Fixed more parsing bugs in other CREATE statements. Thanks to TANIDA
Yutaka <tanida@sra.co.jp> for pointing out all these problems.
- Set ecpg version to 3.2.1.
/* $PostgreSQL: pgsql/src/interfaces/ecpg/preproc/preproc.y,v 1.306 2005/02/09 11:26:44 meskes Exp $ */
/* $PostgreSQL: pgsql/src/interfaces/ecpg/preproc/preproc.y,v 1.307 2005/02/10 08:06:35 meskes Exp $ */
/* Copyright comment */
%{
......@@ -1621,7 +1621,7 @@ CreateAsElement: ColId { $$ = $1; }
*****************************************************************************/
CreateSeqStmt: CREATE OptTemp SEQUENCE qualified_name OptSeqList
{ $$ = cat_str(4, make_str("create"), $2, make_str("sequence"), $4, $5); }
{ $$ = cat_str(5, make_str("create"), $2, make_str("sequence"), $4, $5); }
;
AlterSeqStmt: ALTER SEQUENCE qualified_name OptSeqList
......@@ -2705,7 +2705,7 @@ DropdbStmt: DROP DATABASE database_name
CreateDomainStmt: CREATE DOMAIN_P any_name opt_as Typename ColQualList
{
$$ = cat_str(55555, make_str("create domain"), $3, $4, $5, $6);
$$ = cat_str(5, make_str("create domain"), $3, $4, $5, $6);
}
;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment