Skip to content

Conversation

@kevsmith
Copy link

@kevsmith kevsmith commented Feb 3, 2012

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.

Kevin Smith added 2 commits February 2, 2012 15:07
pgsql_connection processes will automatically initiate a Postgres
sync exchange with the database when a database error occurs. This
insures the connection is always in a sane state and relieves external
callers from having to care about syncing the connection after an error.
@wg
Copy link
Owner

wg commented Mar 8, 2012

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...

@devinus
Copy link

devinus commented Aug 21, 2012

@kevsmith I'm curious as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants