pg.ddx.io  pgsql-interfaces@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Volkan YAZICI <yazicivo@ttnet.net.tr>
To: Andro <andromede@gmail.com>
Cc: Jeroen T. Vermeulen <jtv@xs4all.nl>
Cc: pgsql-interfaces@postgresql.org
Subject: Re: cursors on prepared queries
Date: Tue, 12 Sep 2006 21:12:48 +0300
Message-ID: <20060912181248.GA1373@alamut> (raw)
In-Reply-To: <da7021e0609120534i15cc0342g75274be6a8b01fbd@mail.gmail.com>
References: <da7021e0609120318u2b6a6ca2wb744d692487c0ac2@mail.gmail.com>
	<24793.125.24.222.234.1158058065.squirrel@webmail.xs4all.nl>
	<da7021e0609120534i15cc0342g75274be6a8b01fbd@mail.gmail.com>

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.



view thread (4+ messages)

Message-ID: <20060912181248.GA1373@alamut>
Permalink:  ../20060912181248.GA1373@alamut/
Also on:    postgresql.org/message-id/20060912181248.GA1373@alamut

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-interfaces@postgresql.org
  Cc: yazicivo@ttnet.net.tr, andromede@gmail.com, jtv@xs4all.nl
  Subject: Re: cursors on prepared queries
  In-Reply-To: <20060912181248.GA1373@alamut>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox