mirror of
https://git.postgresql.org/git/postgresql.git
synced 2025-03-13 19:57:53 +08:00
Fix recent breakage of decl_cursor_arglist syntax, per Michael Paesold.
This commit is contained in:
parent
5b0fa0c28c
commit
323f0a6c01
@ -4,7 +4,7 @@
|
||||
* procedural language
|
||||
*
|
||||
* IDENTIFICATION
|
||||
* $PostgreSQL: pgsql/src/pl/plpgsql/src/gram.y,v 1.80 2005/07/02 17:01:59 momjian Exp $
|
||||
* $PostgreSQL: pgsql/src/pl/plpgsql/src/gram.y,v 1.81 2005/09/14 13:46:47 tgl Exp $
|
||||
*
|
||||
* This software is copyrighted by Jan Wieck - Hamburg.
|
||||
*
|
||||
@ -458,14 +458,14 @@ decl_cursor_args :
|
||||
}
|
||||
;
|
||||
|
||||
decl_cursor_arglist : decl_cursor_arglist decl_cursor_arg
|
||||
{
|
||||
$$ = lappend($1, $2);
|
||||
}
|
||||
| decl_cursor_arg
|
||||
decl_cursor_arglist : decl_cursor_arg
|
||||
{
|
||||
$$ = list_make1($1);
|
||||
}
|
||||
| decl_cursor_arglist ',' decl_cursor_arg
|
||||
{
|
||||
$$ = lappend($1, $3);
|
||||
}
|
||||
;
|
||||
|
||||
decl_cursor_arg : decl_varname decl_datatype
|
||||
|
Loading…
x
Reference in New Issue
Block a user