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

Commit a1b3366

Browse files
author
Michael Meskes
committed
Synced parser
1 parent 906b2e1 commit a1b3366

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

src/interfaces/ecpg/ChangeLog

+4
Original file line numberDiff line numberDiff line change
@@ -2211,5 +2211,9 @@ Mon, 11 Jun 2007 13:59:57 +0200
22112211
Tue, 12 Jun 2007 09:46:03 +0200
22122212

22132213
- Synced parser and keyword list.
2214+
2215+
Wed, 25 Jul 2007 15:34:54 +0200
2216+
2217+
- Synced parser.
22142218
- Set ecpg library version to 5.3.
22152219
- Set ecpg version to 4.3.1.

src/interfaces/ecpg/preproc/preproc.y

+5-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* $PostgreSQL: pgsql/src/interfaces/ecpg/preproc/preproc.y,v 1.347 2007/06/12 11:32:30 meskes Exp $ */
1+
/* $PostgreSQL: pgsql/src/interfaces/ecpg/preproc/preproc.y,v 1.348 2007/07/25 16:10:41 meskes Exp $ */
22

33
/* Copyright comment */
44
%{
@@ -2735,6 +2735,10 @@ RenameStmt: ALTER AGGREGATE func_name aggr_args RENAME TO name
27352735
{ $$ = cat_str(4, make_str("alter schema"), $3, make_str("rename to"), $6); }
27362736
| ALTER TABLE relation_expr RENAME TO name
27372737
{ $$ = cat_str(4, make_str("alter table"), $3, make_str("rename to"), $6); }
2738+
| ALTER SEQUENCE relation_expr RENAME TO name
2739+
{ $$ = cat_str(4, make_str("alter sequence"), $3, make_str("rename to"), $6); }
2740+
| ALTER VIEW relation_expr RENAME TO name
2741+
{ $$ = cat_str(4, make_str("alter view"), $3, make_str("rename to"), $6); }
27382742
| ALTER INDEX relation_expr RENAME TO name
27392743
{ $$ = cat_str(4, make_str("alter index"), $3, make_str("rename to"), $6); }
27402744
| ALTER TABLE relation_expr RENAME opt_column name TO name

0 commit comments

Comments
 (0)