PostgreSQL - Running on macOS
brew install Postgresql
Upgrading can leave the database in a state that can’t be used.
Effect is that the server, when started with
brew services start postgresqlseems to not run.brew services restart -vvv postgresqlwill list the settings of the installLog file can be found here (default is
/usr/local/var/log/postgres.log) to give clues if you need to udpdate the databaseCan attempt to upgrade with
brew postgresql-upgrade-databasepid from previuos server could still exist, check log (see above) for location and remove file