Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit d32b3ae

Browse files
author
Michael Meskes
committed
Fixed bug in parsing of CREATE AS statement.
1 parent 38efdc8 commit d32b3ae

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

src/interfaces/ecpg/ChangeLog

+4
Original file line numberDiff line numberDiff line change
@@ -1902,5 +1902,9 @@ Tue Jan 25 13:47:45 CET 2005
19021902
Wed Feb 2 16:35:27 CET 2005
19031903

19041904
- Fixed bug in parsing of #line statement in declare section.
1905+
1906+
Wed Feb 9 12:24:03 CET 2005
1907+
1908+
- Fixed bug in parsing of CREATE AS statement.
19051909
- Set ecpg version to 3.2.1.
19061910

src/interfaces/ecpg/preproc/preproc.y

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* $PostgreSQL: pgsql/src/interfaces/ecpg/preproc/preproc.y,v 1.305 2005/02/02 15:37:43 meskes Exp $ */
1+
/* $PostgreSQL: pgsql/src/interfaces/ecpg/preproc/preproc.y,v 1.306 2005/02/09 11:26:44 meskes Exp $ */
22

33
/* Copyright comment */
44
%{
@@ -1580,7 +1580,7 @@ CreateAsStmt: CREATE OptTemp TABLE qualified_name OptCreateAs WithOidsAs
15801580
if (FoundInto == 1)
15811581
mmerror(PARSE_ERROR, ET_ERROR, "CREATE TABLE / AS SELECT may not specify INTO");
15821582

1583-
$$ = cat_str(8, make_str("create"), $2, make_str("table"), $4, $5, $6, $8);
1583+
$$ = cat_str(7, make_str("create"), $2, make_str("table"), $4, $5, $6, $8);
15841584
}
15851585
;
15861586

0 commit comments

Comments
 (0)