mirror of
https://github.com/postgres/postgres.git
synced 2025-07-17 06:41:09 +03:00
Fixed more parsing bugs in other CREATE statements as pointed out by TANIDA
Yutaka <tanida@sra.co.jp>.
This commit is contained in:
@ -1906,5 +1906,10 @@ Wed Feb 2 16:35:27 CET 2005
|
|||||||
Wed Feb 9 12:24:03 CET 2005
|
Wed Feb 9 12:24:03 CET 2005
|
||||||
|
|
||||||
- Fixed bug in parsing of CREATE AS statement.
|
- 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.
|
- Set ecpg version to 3.2.1.
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
/* $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 */
|
/* Copyright comment */
|
||||||
%{
|
%{
|
||||||
@ -1621,7 +1621,7 @@ CreateAsElement: ColId { $$ = $1; }
|
|||||||
*****************************************************************************/
|
*****************************************************************************/
|
||||||
|
|
||||||
CreateSeqStmt: CREATE OptTemp SEQUENCE qualified_name OptSeqList
|
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
|
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
|
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);
|
||||||
}
|
}
|
||||||
;
|
;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user