[Zope-DB] Closing a database connection in use.

Chris Withers chrisw at nipltd.com
Fri Oct 31 11:49:43 EST 2003


Bogdan M. Maryniuck wrote:

> On Friday 31 October 2003 17:11, Chris Withers wrote:
> 
>>What happens if you call the close method on a database connection that is
>>currently doing something in another thread?
> 
> Then you should say to yourself "Opps!, sorry..." and start hearing some 
> screamings and shoutings behind the wall in the next room... ;-)

I'm thinking of the situation where some long query has hung, or some other such 
thing where you actually _want_ to close all connections.

Would they close, or would whatever was closing them just hang?

Chris




More information about the Zope-DB mailing list