From: Tom Lane Date: Wed, 14 Sep 2005 13:46:47 +0000 (+0000) Subject: Fix recent breakage of decl_cursor_arglist syntax, per Michael Paesold. X-Git-Tag: REL8_1_0BETA2~14 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=323f0a6c014890fb81d32971c3f80b98087e4af1;p=postgresql Fix recent breakage of decl_cursor_arglist syntax, per Michael Paesold. --- diff --git a/src/pl/plpgsql/src/gram.y b/src/pl/plpgsql/src/gram.y index e210d9e803..494b13001f 100644 --- a/src/pl/plpgsql/src/gram.y +++ b/src/pl/plpgsql/src/gram.y @@ -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,13 +458,13 @@ decl_cursor_args : } ; -decl_cursor_arglist : decl_cursor_arglist decl_cursor_arg +decl_cursor_arglist : decl_cursor_arg { - $$ = lappend($1, $2); + $$ = list_make1($1); } - | decl_cursor_arg + | decl_cursor_arglist ',' decl_cursor_arg { - $$ = list_make1($1); + $$ = lappend($1, $3); } ;