Fixed bug in parsing of CREATE AS statement.

This commit is contained in:
Michael Meskes 2005-02-09 11:26:44 +00:00
parent 38efdc8bc1
commit d32b3aec52
2 changed files with 6 additions and 2 deletions

View File

@ -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.

View File

@ -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);
}
;