Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Check SqlState instead of error message
The PostgreSQL error messages are translated, so trying to match them against an english text might not work on different locales.
- Loading branch information