nicnilov
6/1/2017 - 10:57 AM

Brew revert Postgresql to 9.4 after auto upgrade and use existing data directory

Brew revert Postgresql to 9.4 after auto upgrade and use existing data directory

brew search postgres

brew uninstall postgresql

brew install postgresql@9.4

brew link postgresql@9.4 --force

pg_ctl -D /usr/local/var/postgres/ start # << specify the existing data directory and not the newly installed one