]> git.ipfire.org Git - thirdparty/postgresql.git/commitdiff
Fixed bug in parsing of CREATE AS statement.
authorMichael Meskes <meskes@postgresql.org>
Wed, 9 Feb 2005 11:28:21 +0000 (11:28 +0000)
committerMichael Meskes <meskes@postgresql.org>
Wed, 9 Feb 2005 11:28:21 +0000 (11:28 +0000)
src/interfaces/ecpg/preproc/preproc.y

index 7ae91a76b7aa04013ac407cd8eecfdf0e75241da..80ada60ea6584527400d265c134723bec0a1dfbe 100644 (file)
@@ -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);
                }
                ;