PostgreSQL Installation on Mac: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
No edit summary
Line 4: Line 4:


=Overview=
=Overview=
==Initial Installation==


  brew install postgresql
  brew install postgresql
==Update Already Installed Package==
brew upgrade postgresql


=Start at Login=
=Start at Login=

Revision as of 02:34, 4 December 2018

Internal

Overview

Initial Installation

brew install postgresql

Update Already Installed Package

brew upgrade postgresql

Start at Login

To have launchd start postgresql now and restart at login:

 brew services start postgresql

To Run without a Service

  pg_ctl -D /usr/local/var/postgres start