Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Ping after creating connection (#195)
Ping the database after establishing a connection for better error messages. Without this change, an error establishing a connection would be prefixed with the message from the next failure. **before**: ``` Error: unable to set pgroll.internal to true: dial tcp [::1]:7432: connect: connection refused ``` **after**: ``` Error: dial tcp [::1]:7432: connect: connection refused ``` Fixes #133
- Loading branch information