我已卸载并安装了postgres,并尝试按照以下The local psql command could not be located
进行操作但仍然无法让heroku pg:psql工作。我怀疑它指向错误的路径但不确定如何修复它。
当我运行locate psql |时grep / bin我明白了: 警告:locate数据库(/var/db/locate.database)不存在。
答案 0 :(得分:0)
您想为psql命令设置路径
set PATH=%PATH%;C:\Program Files\PostgreSQL\9.6\bin