You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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?
The text was updated successfully, but these errors were encountered:
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 inpgsql_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?The text was updated successfully, but these errors were encountered: