Re: cursors on prepared queries - Mailing list pgsql-interfaces

From Volkan YAZICI
Subject Re: cursors on prepared queries
Date
Msg-id 20060912181248.GA1373@alamut
Whole thread Raw
In response to Re: cursors on prepared queries  (Andro <andromede@gmail.com>)
List 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 by date:

Previous
From: Andro
Date:
Subject: Re: cursors on prepared queries
Next
From: Adriaan van Os
Date:
Subject: Progress of asynchronous queries