Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Timeout issue with connection. #23

Open
hirschenberger opened this Issue Nov 22, 2012 · 0 comments

Comments

Projects
None yet
1 participant

I have a system which uses pgsql to query a database. The system is running 24/7, polling the database for changes. Unfortunately the database get's shut down from time to time, resulting in a timeout(timeout, State) status in pgsql_connection. The connection gets closed afterwards, which is OK I think, because after the database restart, the connection must be reestablished anyway.

I would like epgsql to handle this reconnection procedure internally, is this possoble? If not, how can I be notified of the broken connection to reestablish the connection by myself?

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