We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi !
As instance
How can I get 'connection lost' moment?
BTW, there is a list with original error codes http://www.postgresql.org/docs/9.3/static/errcodes-appendix.html what are not included into gorm.errors
Thank you in advance!
The text was updated successfully, but these errors were encountered:
The error should be returned by the postgres driver, then gorm is possible to know which error happened.
I tried to stop postgres when running a service, got error "dial tcp 127.0.0.1:5432: connection refused" in my local.
Anyway I don't think handle postgres exception in gorm is not a good idea, maybe better use a load balancer and mointior to do handle those issues. check it out. http://www.postgresql.org/docs/9.3/static/high-availability.html
Sorry, something went wrong.
No branches or pull requests
Hi !
As instance
How can I get 'connection lost' moment?
BTW, there is a list with original error codes http://www.postgresql.org/docs/9.3/static/errcodes-appendix.html what are not included into gorm.errors
Thank you in advance!
The text was updated successfully, but these errors were encountered: