The same as https://github.com/prometheus-community/postgres_exporter/issues/958 but on 0.18.1 Error opening connection to database (connection string) driver: bad connection