Re: Bug with cursor declaration in plpgsql? (Repost)

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Bug with cursor declaration in plpgsql? (Repost)
Дата
Msg-id 3484.1126705699@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Bug with cursor declaration in plpgsql? (Repost)  ("Michael Paesold" <mpaesold@gmx.at>)
Список 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 по дате отправления:

Предыдущее
От: Stephen Frost
Дата:
Сообщение: Re: 8.1 system info / admin functions
Следующее
От: "Merlin Moncure"
Дата:
Сообщение: parameterized fetch