2013-12-10 61 views
0

我已經安裝了Windows版本的Postgres,如說明here中所解釋的那樣,當我嘗試撥打heroku pg:psql時,出現錯誤,說The local psql command could not be located。我已經嘗試在我的應用程序目錄中安裝Postgres,但那沒有奏效。CLI不識別psql命令

回答

1

您是否嘗試過這種建議的解決方案?

The local psql command could not be located

的問題是相對於本地版在Heroku Postgres的版本之間的差異。嘗試運行heroku pg:info並將其與postgres --version