Some Postgres References

OSX

Log file /usr/local/var/postgres/server.log

An Error:

psql: error: could not connect to server: No such file or directory
	Is the server running locally and accepting
	connections on Unix domain socket "/tmp/.s.PGSQL.5432"?

A solution on SO.

An error:

The data directory was initialized by PostgreSQL version 12, which is not compatible with this version 13.2.

A solution on SO: brew postgresql-upgrade-database