1. David Puche
  2. Valentina Studio
  3. Montag, September 28 2020, 07:57 PM
  4.  Abonnieren via E-Mail
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.
Kommentar
There are no comments made yet.
Sergey Pashkov Akzeptierte Antwort
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.
Referenzen
  1. https://www.postgresql.org/docs/12/libpq-pgpass.html
Kommentar
There are no comments made yet.
David Puche Akzeptierte Antwort
Thanks, it works.
Kommentar
There are no comments made yet.
  • Seite :
  • 1


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