Re: cursors on prepared queries

Поиск
Список
Период
Сортировка
От Volkan YAZICI
Тема Re: cursors on prepared queries
Дата
Msg-id 20060912181248.GA1373@alamut
обсуждение исходный текст
Ответ на Re: cursors on prepared queries  (Andro <andromede@gmail.com>)
Список pgsql-interfaces
On Sep 12 02:34, Andro wrote:
> I just found this interesting link
> http://lists.initd.org/pipermail/psycopg/2005-October/003999.html
> about psycopg python interface which looks like able to make the use of
> prepared statements within cursors.
> 
> That means the protocol handles it but not libpq, right?

No. Cursor understanding of Python DB adapters are quite different from
the cursor - we create with DECLARE - in an RDBMS. psycopg just tries to
imitate the cursor behaviour we're familiar with. OTOH, psycopg2 uses
libpq too. It's quite unfeasible to think a feature psycopg supports that
libpq does not.


Regards.


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

Предыдущее
От: Andro
Дата:
Сообщение: Re: cursors on prepared queries
Следующее
От: Adriaan van Os
Дата:
Сообщение: Progress of asynchronous queries