postgresql mac start a server code example Example: install postgresql on mac brew install postgresql