adding support for postgres:// connection urls