From: Michael Meskes Date: Wed, 9 Feb 2005 11:28:21 +0000 (+0000) Subject: Fixed bug in parsing of CREATE AS statement. X-Git-Tag: REL8_0_2~85 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=ef006ded8e8e51423c7d9c9cb0d6c2576093df8c;p=thirdparty%2Fpostgresql.git Fixed bug in parsing of CREATE AS statement. --- diff --git a/src/interfaces/ecpg/preproc/preproc.y b/src/interfaces/ecpg/preproc/preproc.y index 7ae91a76b7a..80ada60ea65 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.303.4.1 2005/01/26 22:52:01 tgl Exp $ */ +/* $PostgreSQL: pgsql/src/interfaces/ecpg/preproc/preproc.y,v 1.303.4.2 2005/02/09 11:28:21 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); } ;