Commit 266664fc authored by Bruce Momjian's avatar Bruce Momjian

Fix creation of temporary sequences in ecpg, per report from Edmund Bacon.

parent a56a016c
/* $Header: /cvsroot/pgsql/src/interfaces/ecpg/preproc/Attic/preproc.y,v 1.259 2003/09/23 12:56:35 meskes Exp $ */ /* $Header: /cvsroot/pgsql/src/interfaces/ecpg/preproc/Attic/preproc.y,v 1.260 2003/09/24 19:05:32 momjian Exp $ */
/* Copyright comment */ /* Copyright comment */
%{ %{
...@@ -1499,7 +1499,7 @@ CreateAsElement: ColId { $$ = $1; } ...@@ -1499,7 +1499,7 @@ CreateAsElement: ColId { $$ = $1; }
*****************************************************************************/ *****************************************************************************/
CreateSeqStmt: CREATE OptTemp SEQUENCE qualified_name OptSeqList CreateSeqStmt: CREATE OptTemp SEQUENCE qualified_name OptSeqList
{ $$ = cat_str(4, make_str("create sequence"), $2, $4, $5); } { $$ = cat_str(4, make_str("create"), $2, make_str("sequence"), $4, $5); }
; ;
AlterSeqStmt: ALTER SEQUENCE qualified_name OptSeqList AlterSeqStmt: ALTER SEQUENCE qualified_name OptSeqList
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment