Change the way we are getting versions for postgres