Re: cursor "x" does not exist

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: cursor "x" does not exist
Дата
Msg-id 14390.1523720333@sss.pgh.pa.us
обсуждение исходный текст
Ответ на cursor "x" does not exist  (Bob Jones <r.a.n.d.o.m.d.e.v.4+postgres@gmail.com>)
Ответы Re: cursor "x" does not exist  (Bob Jones <r.a.n.d.o.m.d.e.v.4+postgres@gmail.com>)
Список pgsql-general
Bob Jones <r.a.n.d.o.m.d.e.v.4+postgres@gmail.com> writes:
> My apologies if I'm being incredibly stupid here, but I've reviewed
> what the docs have to say about naming portals and I still can't see
> where I'm going wrong here ?

I think you're forgetting to double-quote an upper case identifier.

> FETCH ALL IN B;
> ERROR:  cursor "b" does not exist

The cursor is named "B" not "b", but B without quotes folds to the latter.

            regards, tom lane


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

Предыдущее
От: Bob Jones
Дата:
Сообщение: cursor "x" does not exist
Следующее
От: Bob Jones
Дата:
Сообщение: Re: cursor "x" does not exist