Sam Morris
Not a member
Sam Morris's latest activity
Thursday, June 30 2011
62
Need a way to remove 'bad' connections from a connection pool
was updated
in psycopg
-
Sam Morris commented at 5:07 PMAh, thanks for that information.
Does this look like the right thing to do in order to get a connection from the pool? Sorry if this sounds like a support reque...
-
Sam Morris created the ticket at 10:45 AMIn the following code:
c = pool.getconn() try: f(c) finally: pool.putconn()If the database is restarted while f is executing then an OperationalError...