我已经在Mac上安装了Postgres93.我可以打开应用程序,并通过该应用程序"打开psql",该应用程序打开了一个与psql的命令行界面.
然而,当我输入$ which psql
时,不会返回任何内容.安装路径是/Applications/Postgres93.app
.如何让$ which psql
显示正确的结果?
Mac OS X-小牛
PostgreSQL包,我不太确定.我go 这里下载了它-http://postgresapp.com/
我已经在Mac上安装了Postgres93.我可以打开应用程序,并通过该应用程序"打开psql",该应用程序打开了一个与psql的命令行界面.
然而,当我输入$ which psql
时,不会返回任何内容.安装路径是/Applications/Postgres93.app
.如何让$ which psql
显示正确的结果?
Mac OS X-小牛
PostgreSQL包,我不太确定.我go 这里下载了它-http://postgresapp.com/
您似乎安装了Heroku's Postgres.app
,这是一个用于一次性测试和开发的工具.将Bundle 包的内容添加到PATH
x following the instructions in the Postgres.app documentation中-请参阅"命令行工具".