I feel more comfortable doing certain things explicitly--like closing a client session. I am thinking that doing so may also get rid of the following annoying messages at the db server:
LOG: could not receive data from client: Connection reset by peer LOG: unexpected EOF on client connection It suited me to have my table definitions known by higher-level API calls. Therefore, I needed them defined at import time. That is, before I was bound to a database. The way to do this, according to 0.2.8 documentaiton is to define the tables explicitly, not specifying a metadata object in the table definitions, and then use global_connect() when I do connect. Everything is working fine. However, I cannot find a way to disconnect. Most of the connection code operates on an engine instances. And I couldn't find one. I looked at a global variables, the docs, the SA source... So, does anyone know how to explicitly (cleanly) close my connection? BTW, I haven't switched to SA 0.3 yet. I only glanced at the document but don't see that I would need to make major changes to this part of my code. Can anyone verify this? Thanks in advance, Rick --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
