我该如何更新psql?

时间:2012-08-03 13:59:10

标签: heroku psql

我正在heroku上迁移我们的数据库但是遇到了这里描述的其中一个步骤的麻烦:https://devcenter.heroku.com/articles/migrating-from-shared-database-to-heroku-postgres

当我在终端中运行“heroku pg:psql HEROKU_POSTGRESQL_ORANGE”时,我得到以下内容:

psql (9.0.4, server 9.1.4)
WARNING: psql version 9.0, server version 9.1.
     Some psql features might not work.
SSL connection (cipher: DHE-RSA-AES256-SHA, bits: 256)
Type "help" for help.

df638608u79sh=> 

我尝试使用“brew update postresql”更新psql,“gem update psql”等等,但是它们都没有运行。

任何帮助都将受到高度赞赏。

谢谢:)

1 个答案:

答案 0 :(得分:2)

当您使用heroku pg:psql HEROKU_POSTGRESQL_ORANGE时,您不在shell中,实际上您已登录到psql控制台实例。 Postgres已经为您安装和配置

相关问题