brew postgresql error code example
Example: can't connect to postgresql mac os
rm -f /usr/local/var/postgres/postmaster.pid
brew services restart postgresql
rm -f /usr/local/var/postgres/postmaster.pid
brew services restart postgresql