Uninstall Postgresql from Mac

Remove previous versions of PostgreSQL

brew uninstall --force postgresql

Delete all Files of Postgres

rm -rf /usr/local/var/postgres