ohmyzsh/plugins/postgres-homebrew/postgres-homebrew.plugin.zsh
2013-06-14 22:53:54 +10:00

6 lines
No EOL
312 B
Bash

# commands to control local postgres installation
# paths are for osx installation via macports
alias startpost='pg_ctl -D /usr/local/var/postgres -l /usr/local/var/postgres/server.log start'
alias stoppost='pg_ctl -D /usr/local/var/postgres stop -s -m fast'
alias restartpost='stoppost && sleep 1 && startpost'