pgapp
pgapp copied to clipboard
Erlang Postgres application that uses Poolboy and deals with the database being unavailable
Hi I've published pgapp to hex, this PR includes the changes that were required. If you are interested in taking the package over I'll gladly give it back :). PS:...
If a password is wrong, it attempts to reconnect in a loop which will never succeed. `=WARNING REPORT==== 12-Jul-2016::15:43:11 === Unable to connect to my_database at instance with user my_user...
Could you explain your reason why log messages about failed connections are shown as warnings? To me, lost connection is a serious issue that should be on 'error' level.
Prepared SQL functionality. It introduces new setting to a pool, but is backward-compatible.
Fix dialyzer issues (also by pointing to an updated epgsql revision) Expose workers `connection` status, so an external component can check if there are any workers ready to process queries.