
Feb. 14, 2005
9:16 p.m.
Also, I *think* one of the reasons that adbapi doesn't have logic to try and reconnect is that it might be difficult to detect under what conditions you want to attempt a reconnect. The error messages for a lost connection might be different from module to module. For example a telling the difference between a timed out connection and the database server just being down. With psycopg OperationalError gets you pretty much everything that would mean you need to reconnect as far as I can tell. Chris