How to purge and reinstall postgress in mac code example Example: uninstall postgresql mac $ brew remove postgresql