2021-11-09

 To migrate existing data from a previous major version of PostgreSQL run:

brew postgresql-upgrade-database

This formula has created a default database cluster with:

initdb --locale=C -E UTF-8 /opt/homebrew/var/postgres

For more details, read:

https://www.postgresql.org/docs/14/app-initdb.html

To restart postgresql after an upgrade:

brew services restart postgresql

Or, if you don't want/need a background service you can just run:

/opt/homebrew/opt/postgresql/bin/postgres -D /opt/homebrew/var/postgres

Zoom Link:

https://us04web.zoom.us/j/74283405747?pwd=NEtYK1o4V0Vpd1ZmZlYycmU5TVV5dz09

Show more