I have a db dump in pg from heroku. I want to use that db locally as well.
How can we have that database dump imported locally using pgadmin
You can create a database in PG and make the dump import to that database
$ pg_restore --verbose --clean --no-acl --no-owner -h localhost -U [username] -d [database name] latest.dump
For references you can view this blog: https://cbabhusal.wordpress.com/2016/01/22/heroku-postgresql-dump-production-staging-database-to-localhost/
latest.dump. It is under my home directorypg_restore --verbose --clean --no-acl --no-owner -h localhost -U [sur] -d [development_db] ~/database.dump