Run the usual brew update
, and brew upgrade
to get the latest 9.4 version of PostgreSQL.
After upgrading PG from 9.3 to 9.4 with brew, the server will not start as is. If you value your database contents, and configuration, pg_upgrade
is here to migrate those.
Do not delete the old binaries at once: do not run brew cleanup
, because you need 9.3 binaries to migrate.