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