如何在 Mac OS 上使用自制软件将 postgresql 从 10.1 降级到 9.6
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/47294258/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
How to use homebrew to downgrade postgresql from 10.1 to 9.6 on Mac OS
提问by SokrateeS
My mac has postgresql 10.1 on it, and I need 9.6 for my work website to function on my local machine. Can't find easy instructions on how to uninstall or downgrade to 9.6. Any help would be appreciated!
我的 mac 上有 postgresql 10.1,我的工作网站需要 9.6 才能在我的本地机器上运行。找不到有关如何卸载或降级到 9.6 的简单说明。任何帮助,将不胜感激!
回答by Martin Zinovsky
I got this issue as well after running brew upgrade
. Following commands worked for me:
运行后我也遇到了这个问题brew upgrade
。以下命令对我有用:
brew uninstall postgresql
brew install [email protected]
brew services start [email protected]
brew link [email protected] --force