projects
/
users
/
bernd
/
postgres.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b1d470d
)
Fix creation of temporary sequences in ecpg, per report from Edmund Bacon.
author
Bruce Momjian
<bruce@momjian.us>
Wed, 24 Sep 2003 19:05:32 +0000
(19:05 +0000)
committer
Bruce Momjian
<bruce@momjian.us>
Wed, 24 Sep 2003 19:05:32 +0000
(19:05 +0000)
src/interfaces/ecpg/preproc/preproc.y
patch
|
blob
|
blame
|
history
diff --git
a/src/interfaces/ecpg/preproc/preproc.y
b/src/interfaces/ecpg/preproc/preproc.y
index 4d2f54b7b6b297fb3a36eff25405a869b758cf3b..22732066d4c80b4073d3ee7f64e0412eb04cbf16 100644
(file)
--- a/
src/interfaces/ecpg/preproc/preproc.y
+++ b/
src/interfaces/ecpg/preproc/preproc.y
@@
-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