Custom connstr in background_psql()
Aidar Imamov <a.imamov@postgrespro.ru>
From: a.imamov@postgrespro.ru
To: PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>
Date: 2024-09-17T22:08:26Z
Lists: pgsql-hackers
Attachments
- background_psql.patch (text/x-diff) patch
Hi, hackers! I've noticed that there is no way to specify a custom connection string when calling the PostgreSQL::Test::Cluster->background_psql() method compared to the PostgreSQL::Test:Cluster->psql(). It seems useful to have this feature while testing with BackgroundPsql, for example, when the default host value needs to be overridden to establish different types of connections. What do you think?
Commits
-
Add parameter "connstr" to PostgreSQL::Test::Cluster::background_psql
- d35e29387870 18.0 landed