Fix for postgres grants when on localhost
Merge pull request #3 from example42/master

Upstream pull