PgDAC
Specifies the application behavior when connection is lost.
DBAccess
TRetryMode = (rmRaise, rmReconnect, rmReconnectExecute);