Re: cursor "" already in use

Поиск
Список
Период
Сортировка
От Michael Fuhr
Тема Re: cursor "" already in use
Дата
Msg-id 20050902131211.GA65202@winnie.fuhr.org
обсуждение исходный текст
Ответ на cursor "" already in use  (Stathis Stergou <stathisstergou@yahoo.gr>)
Список pgsql-sql
On Fri, Sep 02, 2005 at 02:17:52PM +0300, Stathis Stergou wrote:
> ERROR:  cursor "<unnamed portal #a number here#>" already in use
> CONTEXT:  PL/pgSQL function "bufferfeatures" line 19 at open

You're trying to open a cursor that's already open.  Close the
cursor at the end of the loop in which you opened it, so that it
gets closed before you try to open it again on the next loop
iteration.

-- 
Michael Fuhr


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

Предыдущее
От: Stathis Stergou
Дата:
Сообщение: cursor "" already in use
Следующее
От: Jerome Alet
Дата:
Сообщение: not sure about constraints