1. David Puche
  2. Valentina Studio
  3. 月, 9月 28 2020, 07:57 PM
  4.  メールで購読
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.