首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >在Cellar中安装Postgres 9.6

在Cellar中安装Postgres 9.6
EN

Stack Overflow用户
提问于 2018-06-11 22:42:18
回答 1查看 748关注 0票数 0

我已经安装了postgres 10,我想切换到Postgres 9.6。

当我运行brew search postgresql时,我得到以下结果:

代码语言:javascript
复制
==> Searching local taps...
postgresql ✔                                    postgresql@9.6 ✔                              hashrocket/formulas/postgresql_autodoc          postgresql@9.4                                  postgresql@9.5

但是当我运行brew switch postgresql 9.6时,我得到:

代码语言:javascript
复制
Error: postgresql does not have a version "9.6" in the Cellar.
postgresql installed versions: 10.4
EN

回答 1

Stack Overflow用户

发布于 2018-11-30 17:01:13

可以在postgres应用程序中切换postgresql版本。通过Cask安装应用程序

brew cask install postgres

然后添加(通过加号按钮)一个新的服务器,并指定postgres版本的路径(对我来说,版本在

ls /Applications/Postgres.app/Contents/Versions/)

有关详细信息,请参阅postgresapp.com (https://postgresapp.com/downloads.html)

希望这能有所帮助。

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/50800347

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档