On Jun 25, 9:53 am, Michael Bayer <[email protected]> wrote:
> Beyond that, assuming you're using the ORM, and are ensuring that you fully 
> exhaust any row-based result sets that you get from Session.execute(), all 
> connections are returned to the pool explicitly without reliance on GC.

Michael, thanks very much for your helpful reply.  I'm not sure what
you're suggesting by "fully exhaust any row-based result sets" here,
though... are you saying that a connection will not be returned to the
pool if I don't completely iterate through the result of a
Session.execute()?

I just checked the code and it doesn't appear I'm using
Session.execute() anyway, so are there other circumstances when an
interrupted treatment of a result set could keep a connection from
returning to the pool?

Thanks!

-- 
You received this message because you are subscribed to the Google Groups 
"sqlalchemy" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/sqlalchemy?hl=en.

Reply via email to