diff options
author | Michael Meskes <meskes@postgresql.org> | 2005-02-09 11:26:44 +0000 |
---|---|---|
committer | Michael Meskes <meskes@postgresql.org> | 2005-02-09 11:26:44 +0000 |
commit | d32b3aec52ed2284b7547927a161de0ca2c2ea72 (patch) | |
tree | 637157951be664670411a380e3689e3207227b50 | |
parent | 38efdc8bc123e0c5f1f497eb15eb2a4819030290 (diff) | |
download | postgresql-d32b3aec52ed2284b7547927a161de0ca2c2ea72.tar.gz postgresql-d32b3aec52ed2284b7547927a161de0ca2c2ea72.zip |
Fixed bug in parsing of CREATE AS statement.
-rw-r--r-- | src/interfaces/ecpg/ChangeLog | 4 | ||||
-rw-r--r-- | src/interfaces/ecpg/preproc/preproc.y | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/src/interfaces/ecpg/ChangeLog b/src/interfaces/ecpg/ChangeLog index 14a7c9af256..7c4e5fbf783 100644 --- a/src/interfaces/ecpg/ChangeLog +++ b/src/interfaces/ecpg/ChangeLog @@ -1902,5 +1902,9 @@ Tue Jan 25 13:47:45 CET 2005 Wed Feb 2 16:35:27 CET 2005 - Fixed bug in parsing of #line statement in declare section. + +Wed Feb 9 12:24:03 CET 2005 + + - Fixed bug in parsing of CREATE AS statement. - Set ecpg version to 3.2.1. diff --git a/src/interfaces/ecpg/preproc/preproc.y b/src/interfaces/ecpg/preproc/preproc.y index b70fa948720..03fdacd9ea0 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.305 2005/02/02 15:37:43 meskes Exp $ */ +/* $PostgreSQL: pgsql/src/interfaces/ecpg/preproc/preproc.y,v 1.306 2005/02/09 11:26:44 meskes Exp $ */ /* Copyright comment */ %{ @@ -1580,7 +1580,7 @@ CreateAsStmt: CREATE OptTemp TABLE qualified_name OptCreateAs WithOidsAs if (FoundInto == 1) mmerror(PARSE_ERROR, ET_ERROR, "CREATE TABLE / AS SELECT may not specify INTO"); - $$ = cat_str(8, make_str("create"), $2, make_str("table"), $4, $5, $6, $8); + $$ = cat_str(7, make_str("create"), $2, make_str("table"), $4, $5, $6, $8); } ; |