File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change 4
4
* procedural language
5
5
*
6
6
* IDENTIFICATION
7
- * $Header: /cvsroot/pgsql/src/pl/plpgsql/src/gram.y,v 1.19 2001/05/21 14:22:18 wieck Exp $
7
+ * $Header: /cvsroot/pgsql/src/pl/plpgsql/src/gram.y,v 1.20 2001/05/31 17:15:40 momjian Exp $
8
8
*
9
9
* This software is copyrighted by Jan Wieck - Hamburg.
10
10
*
@@ -355,7 +355,7 @@ decl_statement : decl_varname decl_const decl_datatype decl_notnull decl_defval
355
355
{
356
356
plpgsql_ns_rename ($2 , $4 );
357
357
}
358
- | decl_varname K_CURSOR decl_cursor_args K_IS K_SELECT decl_cursor_query
358
+ | decl_varname K_CURSOR decl_cursor_args decl_is_from K_SELECT decl_cursor_query
359
359
{
360
360
PLpgSQL_var *new ;
361
361
PLpgSQL_expr *curname_def;
@@ -499,7 +499,9 @@ decl_cursor_openparen : '('
499
499
plpgsql_ns_push (NULL );
500
500
}
501
501
;
502
-
502
+
503
+ decl_is_from : K_IS | /* Oracle */
504
+ K_FOR ; /* ANSI */
503
505
504
506
decl_aliasitem : T_WORD
505
507
{
You can’t perform that action at this time.
0 commit comments