diff options
author | Bruce Momjian <bruce@momjian.us> | 2003-09-24 19:05:32 +0000 |
---|---|---|
committer | Bruce Momjian <bruce@momjian.us> | 2003-09-24 19:05:32 +0000 |
commit | 266664fcd23a324f43e4f12403acddb15d488f25 (patch) | |
tree | b366b025dad4846e7129b693b961b0e4f0879af0 | |
parent | a56a016ceb612cdee1ddc5990682f36d541e5b07 (diff) | |
download | postgresql-266664fcd23a324f43e4f12403acddb15d488f25.tar.gz postgresql-266664fcd23a324f43e4f12403acddb15d488f25.zip |
Fix creation of temporary sequences in ecpg, per report from Edmund Bacon.
-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 78c4a308250..b49a85af4ff 100644 --- a/src/interfaces/ecpg/preproc/preproc.y +++ b/src/interfaces/ecpg/preproc/preproc.y @@ -1,4 +1,4 @@ -/* $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 */ %{ @@ -1499,7 +1499,7 @@ CreateAsElement: ColId { $$ = $1; } *****************************************************************************/ 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 |