2đź‘Ť
PATH =’Library/PostgreSQL/9.2/bin is overwriting your global $PATH with just the PostgreSQL binaries. It should be the following instead:
PATH="$PATH:/Library/PostgreSQL/9.2/bin"
This appends the PostgreSQL bin directory to your $PATH, instead of overwriting it. Don’t forget to start a new terminal session after you make the edit, or do the following in your current session:
source ~/.bash_profile
In general, the best way to install open source software, packages and utilities on OSX is to use homebrew. Homebrew is a package manager for OSX to simplify the installation and management of programs such as PostgreSQL, and many other popular open source projects. Check it out!
0đź‘Ť
While it’s not exactly an answer to your “question”, it might solve the problem for you. Have you checked out the PostgreSQL “app”? It’s created by Matt Thompson & supported by Heroku Postgres and is meant to make PostgreSQL development easier for people using Mac. You might want to give it a look. Here’s a link. Or just google “Postgresapp”.
- [Answered ]-Adding Custom Permissions in django.auth.models
- [Answered ]-Django- CSRF and POSTing an Html form
- [Answered ]-Validate dynamic checkboxes Django form
- [Answered ]-Django URL regex matches correctly with GET but not POST