Support asdf when looking for Postgres versions
What does this Merge Request do?
This MR updates support/upgrade-postgresql
to support asdf
when looking for PostgreSQL versions:
Before
$ support/upgrade-postgresql
Available PostgreSQL versions: {}
Unable to find target PostgreSQL version 11
After
$ support/upgrade-postgresql
Available PostgreSQL versions: {11=>"/Users/ash/.asdf/installs/postgres/11.9/bin", 12=>"/Users/ash/.asdf/installs/postgres/12.4/bin"}
--deliberately aborted upgrade here--
Merge Request checklist
-
Tests added for new functionality. If not, please raise Issue to follow-up. -
This change is backward compatible. If not, please include steps to communicate to our users. -
Documentation added/updated, if needed. -
gdk doctor
test added, if needed.
Edited by Tiger Watson