How to use homebrew to downgrade postgresql from 10.1 to 9.6 on Mac OS
MacosPostgresqlDowngradeMacos Problem Overview
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!
Macos Solutions
Solution 1 - Macos
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