I am constantly switching versions when working on multiple projects. Currently, we have to turn one version off, turn the other on via the mac toolbar. It's a huge improvement from the previous version where I kept a few PG.app versions so thank you.
Feature request to allow us to switch version via console, it'd be really helpful. Thanks a lot for the work by the way.
You can start and stop the servers from the command line with pg_ctl. (just make sure to use the right version)
Example to stop 9.6 and start 9.5:
/Applications/Postgres.app/Contents/Versions/9.6/bin/pg_ctl stop -w -D '/Users/jakob/Library/Application Support/Postgres/var-9.6'
/Applications/Postgres.app/Contents/Versions/9.5/bin/pg_ctl start -w -D '/Users/jakob/Library/Application Support/Postgres/var-9.5'
For more info, read man pg_ctl
Nice! Thank you very much. Didn't know this exists. Closing
Most helpful comment
You can start and stop the servers from the command line with
pg_ctl. (just make sure to use the right version)Example to stop 9.6 and start 9.5:
For more info, read
man pg_ctl