epgsql icon indicating copy to clipboard operation
epgsql copied to clipboard

Automatically syncing after database error

Open kevsmith opened this issue 13 years ago • 2 comments

We've been happy with epgsql but the need to manually sync after an error has caused us a few problems. These two commits enable pgsql_connection to automatically initiate a database sync in the event of a database error.

kevsmith avatar Feb 03 '12 14:02 kevsmith

Hi Kevin, thanks for the pull request!

I'm curious about what sort of errors you've encountered that could benefit from this, is it during binding parameters to a prepared statement or something else? I wonder if there are any cases where you wouldn't want to automatically issue a sync...

wg avatar Mar 08 '12 01:03 wg

@kevsmith I'm curious as well.

devinus avatar Aug 21 '12 19:08 devinus