[SQLObject] Postgres connection close on exit
SQLObject is a Python ORM.
Brought to you by:
ianbicking,
phd
|
From: Menno S. <me...@fr...> - 2004-09-24 05:16:35
|
Hi,
I've just submitted a simple patch that causes PostgresConnection to
close any underlying psycopg connections on exit.
Before I did this I was seeing lots of postgres log entries like this:
"pq_recvbuf: unexpected EOF on client connection"
These occured whenever a program using SQLObject exited. Fairly harmless
but was creating a lot of noise in the logs.
Patch can be found at:
http://sourceforge.net/tracker/index.php?func=detail&aid=1033807&group_id=74338&atid=540674
Does it look sane/safe?
Please CC me on any replies as I'm not a list subscriber.
Regards,
Menno
Scanned by the NetBox from NetBox Blue
(http://netboxblue.com/)
|