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