Skip to content

Commit 323f0a6

Browse files
committed
Fix recent breakage of decl_cursor_arglist syntax, per Michael Paesold.
1 parent 5b0fa0c commit 323f0a6

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/pl/plpgsql/src/gram.y

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
* procedural language
55
*
66
* IDENTIFICATION
7-
* $PostgreSQL: pgsql/src/pl/plpgsql/src/gram.y,v 1.80 2005/07/02 17:01:59 momjian Exp $
7+
* $PostgreSQL: pgsql/src/pl/plpgsql/src/gram.y,v 1.81 2005/09/14 13:46:47 tgl Exp $
88
*
99
* This software is copyrighted by Jan Wieck - Hamburg.
1010
*
@@ -458,13 +458,13 @@ decl_cursor_args :
458458
}
459459
;
460460

461-
decl_cursor_arglist : decl_cursor_arglist decl_cursor_arg
461+
decl_cursor_arglist : decl_cursor_arg
462462
{
463-
$$ = lappend($1, $2);
463+
$$ = list_make1($1);
464464
}
465-
| decl_cursor_arg
465+
| decl_cursor_arglist ',' decl_cursor_arg
466466
{
467-
$$ = list_make1($1);
467+
$$ = lappend($1, $3);
468468
}
469469
;
470470

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy