# File lib/heroku/command/pg.rb, line 245 def heroku_postgresql_client(url) uri = URI.parse(url) HerokuPostgresql::Client.new(uri.user, uri.password, uri.path[1..-1]) end