| От | Tom Lane |
|---|---|
| Тема | Re: plpgsql error message |
| Дата | |
| Msg-id | 27153.1245252312@sss.pgh.pa.us обсуждение исходный текст |
| Ответ на | plpgsql error message (Peter Eisentraut <peter_e@gmx.net>) |
| Список | pgsql-hackers |
Peter Eisentraut <peter_e@gmx.net> writes:
> In plpgsql, if you write
> OPEN var BLAH
> you can an error message like this:
> ERROR: syntax error ...
> DETAIL: Expected "FOR", to open a reference cursor.
> But what is a "reference cursor"? Isn't this rather saying "... to open a
> cursor, a reference to which will be stored in your variable"? Anyone got a
> better idea for a wording?
The documentation uses the phrase "unbound cursor". +1 for changing it
--- I don't see any other uses of "reference cursor", except in
pg_type.h where type "refcursor" is commented that way. And that should
probably read "reference to cursor".
regards, tom lane
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера