pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Clemens Ladisch <clemens@ladisch.de>
To: pgsql-odbc@lists.postgresql.org
Subject: Re: omission in ODBC documentation ... ?
Date: Fri, 23 Aug 2019 10:54:04 +0200
Message-ID: <aeebc650-dd4f-4476-e6e7-cb6c79e56fe0@ladisch.de> (raw)
In-Reply-To: <e91865e3-088f-af9c-9dd4-05779a11fa3d@humaj.sk>
References: <e91865e3-088f-af9c-9dd4-05779a11fa3d@humaj.sk>

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





view thread (2+ messages)

Message-ID: <aeebc650-dd4f-4476-e6e7-cb6c79e56fe0@ladisch.de>
Permalink:  ../aeebc650-dd4f-4476-e6e7-cb6c79e56fe0@ladisch.de/
Also on:    postgresql.org/message-id/aeebc650-dd4f-4476-e6e7-cb6c79e56fe0@ladisch.de

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-odbc@postgresql.org
  Cc: clemens@ladisch.de
  Subject: Re: omission in ODBC documentation ... ?
  In-Reply-To: <aeebc650-dd4f-4476-e6e7-cb6c79e56fe0@ladisch.de>
  References: <e91865e3-088f-af9c-9dd4-05779a11fa3d@humaj.sk> <aeebc650-dd4f-4476-e6e7-cb6c79e56fe0@ladisch.de>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox