Re: Async support in psycopg2
Federico Di Gregorio <fog-NGVKUo/i/[email protected]>
| Newsgroups | gmane.comp.python.db.psycopg.devel |
|---|---|
| Organization | initd.org |
| Message-ID | <1254392022.2889.30.camel@mila> |
Il giorno mer, 30/09/2009 alle 20.32 -0400, Dustin Spicuzza ha scritto: > Hey, > > I'm using psycopg2 on Ubuntu 9.04, and it looks like the documentation > and implementation for the asynchronous interface is lacking quite a bit: > > - the cursor does not have an "isbusy()", it is actually called "isready()" > - the cursor does not have a cancel() either -- and a grep of the > sources in git shows that the word cancel appears nowhere in the > sources.... so how exactly does one cancel a query? Asynchronous support is only half-backed. Nobody really helped testing it and I don't use psycopg in a way that requires async queries anymore (mostly I use psycopg in short python scripts for administrative tasks.) So, don't expect it to work. federico -- Federico Di Gregorio http://people.initd.org/fog Debian GNU/Linux Developer [email protected] INIT.D Developer fog-NGVKUo/i/[email protected] Io non sono romantica. La candelina sul tavolo mi vede e si spegne. -- sisterconfusion _______________________________________________ Psycopg mailing list Psycopg-IAPFreCvJWPBWskQ1e/[email protected] http://lists.initd.org/mailman/listinfo/psycopg
signature.asc
(application/pgp-signature, 198 B)
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iEYEABECAAYFAkrEgNUACgkQvcCgrgZGjesUsQCeIOnM2TKhlQOP+286nneXQEmn rccAnRawgM8NLoBDu0yT/11GKss1TNxf =SVfd -----END PGP SIGNATURE-----