diff options
-rw-r--r-- | src/interfaces/ecpg/ChangeLog | 5 | ||||
-rw-r--r-- | src/interfaces/ecpg/preproc/preproc.y | 6 |
2 files changed, 8 insertions, 3 deletions
diff --git a/src/interfaces/ecpg/ChangeLog b/src/interfaces/ecpg/ChangeLog index 7c4e5fbf783..262a841c000 100644 --- a/src/interfaces/ecpg/ChangeLog +++ b/src/interfaces/ecpg/ChangeLog @@ -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. diff --git a/src/interfaces/ecpg/preproc/preproc.y b/src/interfaces/ecpg/preproc/preproc.y index 03fdacd9ea0..0dba4251a00 100644 --- a/src/interfaces/ecpg/preproc/preproc.y +++ b/src/interfaces/ecpg/preproc/preproc.y @@ -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 */ %{ @@ -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); } ; |