diff options
author | Michael Meskes <meskes@postgresql.org> | 2005-02-09 11:28:21 +0000 |
---|---|---|
committer | Michael Meskes <meskes@postgresql.org> | 2005-02-09 11:28:21 +0000 |
commit | ef006ded8e8e51423c7d9c9cb0d6c2576093df8c (patch) | |
tree | 67ebaaf9b8f459c23b71cb212b3a3bc3c0dc7c45 /src | |
parent | ae50aa7ee8efcfdf8fc3966d226b24d3e4d036c2 (diff) | |
download | postgresql-ef006ded8e8e51423c7d9c9cb0d6c2576093df8c.tar.gz postgresql-ef006ded8e8e51423c7d9c9cb0d6c2576093df8c.zip |
Fixed bug in parsing of CREATE AS statement.
Diffstat (limited to 'src')
-rw-r--r-- | src/interfaces/ecpg/preproc/preproc.y | 4 |
1 files changed, 2 insertions, 2 deletions
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); } ; |