Re: Bug with cursor declaration in plpgsql? (Repost) - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Bug with cursor declaration in plpgsql? (Repost)
Date
Msg-id 3484.1126705699@sss.pgh.pa.us
Whole thread Raw
In response to Bug with cursor declaration in plpgsql? (Repost)  ("Michael Paesold" <mpaesold@gmx.at>)
List pgsql-hackers
"Michael Paesold" <mpaesold@gmx.at> writes:
> I get:
> ERROR:  syntax error at or near "," at character 237
> LINE 9:   credit_cursor CURSOR (p_account integer, p_reference integ...

> The same function works perfectly well in 7.4.8 and 8.0.3.
> A bug?

Yeah, looks like Neil accidentally dropped the comma from
decl_cursor_arglist when he whacked that code around to use Lists
instead of handmade arrays.  Thanks for catching it.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Stephen Frost
Date:
Subject: Re: 8.1 system info / admin functions
Next
From: "Merlin Moncure"
Date:
Subject: parameterized fetch