Re: Prepared statements?

Federico Di Gregorio <fog-NGVKUo/i/[email protected]>
Newsgroups gmane.comp.python.db.psycopg.devel
Organization initd.org
Message-ID <[email protected]>
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                                [email protected]
INIT.D Developer                                           fog-NGVKUo/i/[email protected]
 E tu usa il prefisso corretto Re: non R:, questa è una ML seria.
                                            -- cosmos, su debian-italian

_______________________________________________
Psycopg mailing list
Psycopg-IAPFreCvJWPBWskQ1e/[email protected]
http://lists.initd.org/mailman/listinfo/psycopg
signature.asc (application/pgp-signature, 189 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQBIHDIMvcCgrgZGjesRAgP8AJ0S5fGbW2D9NWLa+IKrbOeacIsH+gCghRxu
MR3/kd6dflL62EXIWR9J/a8=
=LVB1
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.