Any way to use refcursors from python?

Поиск
Список
Период
Сортировка
От Andrew Sullivan
Тема Any way to use refcursors from python?
Дата
Msg-id 20101229123507.GA88799@shinkuro.com
обсуждение исходный текст
Ответы Re: Any way to use refcursors from python?  (Daniele Varrazzo <daniele.varrazzo@gmail.com>)
Список pgsql-general
Hi all,

For a little application I'm working on (written in Python), I have a
number of potentially large result sets that I'd like to return from a
PL/pgSQL function.  My natural inclination would be to return a
refcursor.  It seems, however, that psycopg2 can't accept such
references.

Have I completely overlooked something (there would be no news in
that, of course)?  Is there some other interface I ought to be using?

Thanks,

A

--
Andrew Sullivan
ajs@crankycanuck.ca

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

Предыдущее
От: Leif Biberg Kristensen
Дата:
Сообщение: Re: Restore problem
Следующее
От: Daniele Varrazzo
Дата:
Сообщение: Re: Any way to use refcursors from python?