Revised pg gem for Heroku