Created
September 6, 2014 00:30
-
-
Save bencharb/a89e4b22d97eacb16886 to your computer and use it in GitHub Desktop.
start/stop postgres on mac
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
The Homebrew package manager includes launchctl plists to start automatically. For more information run brew info postgres. | |
Start manually: | |
pg_ctl -D /usr/local/var/postgres -l /usr/local/var/postgres/server.log start | |
Stop manually: | |
pg_ctl -D /usr/local/var/postgres stop -s -m fast | |
#-- JamesA on http://stackoverflow.com/a/7975660 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment