Peter Humaj wrote:
> I needed to specify 2 IP addresses in ODBC configuration of a client
> which is also connected to these 2 networks.
>
> If you specify "Server" (in Windows ODBC) or "Servername" (in Linux
> /etc/odbc.ini or in windows registry configuration of ODBC) as
> "server1[,server2[,server3...]] then it works
>
> So it seems that this is undocumented (or I'm not able to find this
> info anywhere).
psqlODBC uses libpq:
<https://www.postgresql.org/docs/current/libpq-connect.html#LIBPQ-MULTIPLE-HOSTS>
> Can you please add this to documentation/FAQ?
It might be helpful to add a link to the connection string documentation:
<https://www.postgresql.org/docs/current/libpq-connect.html#LIBPQ-CONNSTRING>
Regards,
Clemens