Created
December 11, 2014 21:02
-
-
Save killmenot/2122f4cd025a9d000d07 to your computer and use it in GitHub Desktop.
PostgreSQL command line aliases
This file contains hidden or 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
# PostgreSQL | |
export PATH="/Library/PostgreSQL/9.3/bin:$PATH" | |
alias postgres.start="sudo su postgres -c '/Library/PostgreSQL/9.3/bin/pg_ctl -D /Library/PostgreSQL/9.3/data start'" | |
alias postgres.stop="sudo su postgres -c '/Library/PostgreSQL/9.3/bin/pg_ctl -D /Library/PostgreSQL/9.3/data stop -s -m fast'" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment