1. David Puche
  2. Valentina Studio
  3. Понедельник, Сентябрь 28 2020, 07:57 PM
  4.  Подписаться через email
Hello,

Do you think it would be possible to add support to specify the pgfile to use for connecting to a postgresql server ? In the connection dialog or by specifying the PGPASSFILE environment variable maybe. It would allow to setup multiple SSH tunneled connections to 127.0.0.1:5432 with pgpass support.

Thanks.
Комментарий
There are no comments made yet.
Sergey Pashkov Ответ принят
Hello David,

A standard libpq library is used so PGPASSFILE environment variable or placing it at a default place should work.

When SSH is used, libpq connects to the local socket at 127.0.0.1 but the port is assigned dynamically.
Ссылки
  1. https://www.postgresql.org/docs/12/libpq-pgpass.html
Комментарий
There are no comments made yet.
David Puche Ответ принят
Thanks, it works.
Комментарий
There are no comments made yet.
  • Страница :
  • 1


There are no replies made for this post yet.
However, you are not allowed to reply to this post.