brew uninstall postgres code example
Example 1: uninstall postgresql mac
$ brew remove postgresql
Example 2: uninstall edb postgres mac
/Library/PostgreSQL/10
open uninstall-postgres.app
$ brew remove postgresql
/Library/PostgreSQL/10
open uninstall-postgres.app