问题
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!
回答1:
I got this issue as well after running brew upgrade
. Following commands worked for me:
brew uninstall postgresql
brew install postgresql@9.6
brew services start postgresql@9.6
brew link postgresql@9.6 --force
来源:https://stackoverflow.com/questions/47294258/how-to-use-homebrew-to-downgrade-postgresql-from-10-1-to-9-6-on-mac-os