Skip to content

Instantly share code, notes, and snippets.

@jamesplease
Created February 7, 2017 17:46
Show Gist options
  • Save jamesplease/e6b2a4cf390f35bda25dd6f38c65978e to your computer and use it in GitHub Desktop.
Save jamesplease/e6b2a4cf390f35bda25dd6f38c65978e to your computer and use it in GitHub Desktop.
function startpg {
pg_ctl -D /usr/local/var/postgres start
}
function stoppg {
pg_ctl -D /usr/local/var/postgres stop -s -m fast
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment