I'm trying to pull a heroku database to my local Windows computer by using
heroku pg:pull HEROKU_POSTGRESQL_DATABASE mydatabase --app myapp
However, when I run this command I get the following error:
'env' is not recognized as an internal or external command, operable program or batch file. ! The local psql command could not be located ! For help installing psql, see PostgreSQL-local-setup
I do have psql in my path, and I can successfully call psql from my command line. I can even call heroku pg:info --app myapp
successfully, and it shows the existence of my database.
Any suggestions?