[database-devel] automatic connection retry

Greg Weber greg at gregweber.info
Thu Sep 5 00:26:58 CEST 2013

On second thought, surviving connection drops means catching some network &
backend specific errors. So this can't be added to resource-pool. There
could be a common package for network errors though. I think the most
common error  I have seen is:

hGetBuf: resource vanished (Connection reset by peer)

On Wed, Sep 4, 2013 at 2:24 PM, Greg Weber <greg at gregweber.info> wrote:

> I would like for database drivers to survive connection drops (these can
> be created by re-starting the database). Does it make sense to add a
> withResourceRetry function to the resource-pool library?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/database-devel/attachments/20130904/9202adef/attachment.htm>

More information about the database-devel mailing list