mac postgresql data folder delete code example Example: uninstall postgresql mac $ brew remove postgresql