|
1 |
| -/* $PostgreSQL: pgsql/src/interfaces/ecpg/preproc/preproc.y,v 1.293 2004/07/20 18:06:41 meskes Exp $*/ |
| 1 | +/* $PostgreSQL: pgsql/src/interfaces/ecpg/preproc/preproc.y,v 1.294 2004/08/11 22:50:35 tgl Exp $*/ |
2 | 2 |
|
3 | 3 | /* Copyright comment*/
|
4 | 4 | %{
|
@@ -1546,14 +1546,14 @@ OptTableSpace: TABLESPACE name{ $$ = cat2_str(make_str("tablespace"), $2); }
|
1546 | 1546 | * SELECT ... INTO.
|
1547 | 1547 | */
|
1548 | 1548 |
|
1549 |
| -CreateAsStmt:CREATEOptTempTABLEqualified_nameOptCreateAsWithOidsAsAS |
| 1549 | +CreateAsStmt:CREATEOptTempTABLEqualified_nameOptCreateAsWithOidsAs |
1550 | 1550 | { FoundInto =0; }
|
1551 | 1551 | SelectStmt
|
1552 | 1552 | {
|
1553 | 1553 | if (FoundInto ==1)
|
1554 | 1554 | mmerror(PARSE_ERROR, ET_ERROR,"CREATE TABLE / AS SELECT may not specify INTO");
|
1555 | 1555 |
|
1556 |
| -$$ = cat_str(8, make_str("create"),$2, make_str("table"),$4,$5,$6,make_str("as"),$9); |
| 1556 | +$$ = cat_str(8, make_str("create"),$2, make_str("table"),$4,$5,$6,$8); |
1557 | 1557 | }
|
1558 | 1558 | ;
|
1559 | 1559 |
|
|