[Psycopg] Prepared statements?
Federico Di Gregorio
fog at initd.org
Sat May 3 11:36:12 CEST 2008
Il giorno sab, 03/05/2008 alle 00.21 +0200, Dawid Kuroczko ha scritto:
> Hello.
>
> I'm wondering if psycopg2 has an API for server-side
> prepared statements. And if so, how to use it efficiently?
> And if not... well what are the road blocks? ;)
It does not have one. The main road block, apart from writing the code
that calls libpq to prepare and then execute the statement is to modify
the adapters to convert data to the right format (I'd like to use binary
data).
federico
--
Federico Di Gregorio http://people.initd.org/fog
Debian GNU/Linux Developer fog at debian.org
INIT.D Developer fog at initd.org
E tu usa il prefisso corretto Re: non R:, questa è una ML seria.
-- cosmos, su debian-italian
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Questa =?ISO-8859-1?Q?=E8?= una parte del messaggio
firmata digitalmente
Url : http://lists.initd.org/pipermail/psycopg/attachments/20080503/79fdff61/attachment.pgp
More information about the Psycopg
mailing list