heroku/heroku — pull request #1167 by will (2014-08-12 21:52:22+00:00)
Title: Better errors when psql fails and when we can't check the pg version

It wont solve the issue in support.heroku.com/tickets/128528 but it would help pointing to the error faster