how to uninstall postgresql completely on mac code example Example: uninstall postgresql mac $ brew remove postgresql