From: Billy G. A. <bg...@mu...> - 2002-01-21 07:21:22
|
Bernhard Herzog wrote: > "Billy G. Allie" <Bil...@mu...> writes: > > > Bernhard Herzog wrote: > > > Is it possible to use pyPgSQL for asynchronous connections? It seems to > > > be the only Python/PostgreSQL module that actually wraps the relevant > > > libpg functions, but the Python API doesn't provide access to them. Is > > > anybody actually using them? > > > > The pyPgSQL.PgSQL module does not use asynchronous connections. If you need > > to use ansynchronous connections you will have to use pyPgSQL.libpq module, > > which exposes the appropiate API. > > That's what I ended up doing. I also modified the copy a bit to > reactivate the PQconnectStart bindings for asynchronouse connections and > removed the version specific stuff because that wouldn't work with > PQconnectStart and we won't need the compatibility code. I've re-activated the PQconnectStart bindings in the CVS version. Can you send me the additional things you changed. I am curious as to what they were. Thanks. -- ____ | Billy G. Allie | Domain....: Bil...@mu... | /| | 7436 Hartwell | MSN.......: B_G...@em... |-/-|----- | Dearborn, MI 48126| |/ |LLIE | (313) 582-1540 | |