bugfix for cursor arguments in named notation

Поиск
Список
Период
Сортировка
От Yeb Havinga
Тема bugfix for cursor arguments in named notation
Дата
Msg-id 4F7C18BF.60802@gmail.com
обсуждение исходный текст
Ответы Re: bugfix for cursor arguments in named notation  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
Using a cursor argument name equal to another plpgsql variable results
in the error:
cursor .. has no argument named ""

The attached patch fixes that.

Instead of solving the issue like is done in the patch, another way
would be to expose internal_yylex() so that could be used instead of
yylex() by read_cursor_args when reading the argument name, and would
always return the argument name in yylval.str.

--
Yeb Havinga
http://www.mgrid.net/
Mastering Medical Data


Вложения

В списке pgsql-hackers по дате отправления:

Предыдущее
От: Joachim Wieland
Дата:
Сообщение: Re: parallel pg_dump
Следующее
От: Joachim Wieland
Дата:
Сообщение: Re: patch for parallel pg_dump