opengisch / pum

Postgres Upgrades Manager
GNU General Public License v2.0
30 stars 7 forks source link

Accept postgres connection string too (and not only service names) #95

Open olivierdalang opened 3 years ago

olivierdalang commented 3 years ago

Current, pum works by providing service names, which are defined in pg_service.conf.

This is not too practical in some scenarios :

I think it should be relatively easy to adapt pum to be able to use connection strings as defined in https://www.postgresql.org/docs/10/libpq-connect.html#id-1.7.3.8.3.2 This would still allow to use pg_service conf when useful, and regular connection parameters otherwise.

Or was there a reason to primarily rely on this ?