You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using multiple postgresql version with appropoiate psql and other pg tools version on mac with postgresapp
Using multiple postgresql version with appropoiate psql and other pg tools version on mac with postgresapp
First make sure no postgres instance is configured to run on startup. And you get nothing when you run this command: which -a psql
This is to make sure you don't have anything related to postgres in your PATH, which can conflict.
If you do get some hits with above command, you have to manually either remove the installed versions of postgres or just fix PATH and remove ref to that path which has these binaries(psql, pg_dump etc)
For me, i was using brew installed postgres, i had to just comment out a PATH editing line which was inserted by brew in my .bash_profile
Ok, after this we are ready. Now things are simple:
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
If you more tips and advice like these, you can become a monthly patron on my GitHub Sponsor Page for as little as $5 a month; and your contributions will be multipled, as GitHub is matching the first $5,000!
This gist is all about Homebrew, so if you like it you can support it by donating to them or becoming one of their Github Sponsors.
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