This has nothing to do with it. Anyway, recent version of web2py have automatic reconnect, if that is what you are asking.
On Friday, 13 April 2012 02:20:53 UTC-5, Johann Spies wrote: > > In the past, the database adapter disconnected when a constraint on the > database side prohibited a transaction to complete. Will these changes > make it possible to handle such a situation as an exception? > > I am working with Postresql. > > Regards > Johann >