Install PostgreSQL DataBase in MacOS With Brew
According to wikipedia:
PostgreSQL, often simply Postgres, is an object-relational database (ORDBMS) — i.e. a RDBMS, with additional (optional use) “object” features — with an emphasis on extensibility and standards compliance. As a database server, its primary function is to store data securely, and to allow for retrieval at the request of other software applications. It can handle workloads ranging from small single-machine applications to large Internet-facing applications (or for data warehousing) with many concurrent users.
PostgreSQL is a well used db in the world.
Install PostgreSQL with brew is very easy:
brew install postgresql
When install is completed you can start PostgreSQL with:
pg_ctl -D /usr/local/var/postgres start
for stop it:
pg_ctl -D /usr/local/var/postgres stop
and for get status of PostgreSQL:
pg_ctl -D /usr/local/var/postgres status
if you want PostgreSQL start on login use:
brew services start postgresql