Re: Async support in psycopg2
Dustin Spicuzza <dustin-Jt2G5/[email protected]>
| Newsgroups | gmane.comp.python.db.psycopg.devel |
|---|---|
| Message-ID | <[email protected]> |
Federico Di Gregorio wrote: > 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. > Fair enough. Could you at least update the documentation then to note that it doesn't work? Will save someone some time in the future. Dustin -- Innovation is just a problem away _______________________________________________ Psycopg mailing list Psycopg-IAPFreCvJWPBWskQ1e/[email protected] http://lists.initd.org/mailman/listinfo/psycopg
signature.asc
(application/pgp-signature, 258 B)
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkrFHpYACgkQAKlWFHMG4eLRrwCfUxrJyUkFnnoJwvyzokuZrhmF uO8AoJgB4ojB0yuCMCDk/OGQhCOECuFu =2N+F -----END PGP SIGNATURE-----