[Twisted-Python] Twisted and Postgresql

Edmund Dengler edmundd at eSentire.com
Sun Aug 10 14:33:38 EDT 2003


Greetings!

Maybe I am missing something then. When using the adbapi, and following
the examples in the HowTo pages, I get a deferred for the query that
passes in the entire result set. How would I restructure the example(s)
such that a deferred would only get a single row, and how would I then
cause the next row to be fetched (via a deferred)?

Regards!
Ed

On Sun, 10 Aug 2003, Christopher Armstrong wrote:

> On Sun, Aug 10, 2003 at 02:15:32PM -0400, Edmund Dengler wrote:
> > I am using 2.4 (at least that is what PgSQL/__init__.py says).
> >
> > The result set is due to the use of the Twisted API. How does this work
> > with Deferreds within the adbapi?
>
> Nope, Twisted knows nothing about result sets.
>
> --
>  Twisted | Christopher Armstrong: International Man of Twistery
>   Radix  |          Release Manager,  Twisted Project
> ---------+     http://twistedmatrix.com/users/radix.twistd/
>
> _______________________________________________
> Twisted-Python mailing list
> Twisted-Python at twistedmatrix.com
> http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python
>





More information about the Twisted-Python mailing list