how to use postgres on mac code example
Example 1: postgres install mac
$ brew install postgresql
Example 2: how to open postgresql in mac
brew services start postgresqlpsql postgres
$ brew install postgresql
brew services start postgresqlpsql postgres