pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Inoue, Hiroshi <h-inoue@dream.email.ne.jp>
To: Apurva Paralkar <apurva12mar@gmail.com>
Cc: pgsql-odbc@postgresql.org
Subject: Re: Fwd: Connection string parameter sslrootcert does not work
Date: Wed, 25 Jan 2017 08:15:29 +0900
Message-ID: <94eae516-0160-e83c-7b78-ce769a34cb40@dream.email.ne.jp> (raw)
In-Reply-To: <CAEnV6tZm=KuOnLPx+CcS_5D-5g6EiZMmKtv+28bxcyq20+d-dA@mail.gmail.com>
References: <CCEAEAA1-3B22-4AA2-BA22-C41B6799C908@amazon.com>
	<CAEnV6tZMEbmWuALUTBmjNk-q4Av7JHN0x7y9zO8_JdW4rSrPkA@mail.gmail.com>
	<e8035ec4-a14e-3a9c-32f1-a8dee13a303c@dream.email.ne.jp>
	<CAEnV6tYoN9_BcNw_XBCOPUbkPGJ2PP8paUTP5K8fdqQjw5842g@mail.gmail.com>
	<9e74d009-47e4-fc89-de30-dab726b9ee7f@dream.email.ne.jp>
	<CAEnV6tZm=KuOnLPx+CcS_5D-5g6EiZMmKtv+28bxcyq20+d-dA@mail.gmail.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-odbc>

Hi Apurva,

On 2017/01/25 7:47, Apurva Paralkar wrote:
> Thanks for making the change, Hiroshi.
> We can move to using a different version of the driver. Do you know 
> when this would be available for use?

I would push the change to official git if it is confirmed to be OK.

>
> Also, if the following string was the current connection string:
> Driver={PostgreSQL 
> Unicode(x64)};Server=<hostname>;Port=<port>;Database=<database-name>;UseDeclareFetch=1;Fetch=10000;Uid=username>;Pwd=****;sslmode=verify-ca;sslrootcert=<location 
> of root.pem file on the client>
> what should the new connection string look like with your 
> changes?Driver={PostgreSQL 
> Unicode(x64)};Server=<hostname>;Port=<port>;Database=<database-name>;UseDeclareFetch=1;Fetch=10000;Uid=username>;Pwd=****;sslmode=verify-ca;sslrootcert=<location 
> of root.pem file on the client>

Driver={PostgreSQL 
Unicode(x64)};Server=<hostname>;Port=<port>;Database=<database-name>;UseDeclareFetch=1;Fetch=10000;Uid=username>;Pwd=****;sslmode=verify-ca;pqopt={sslrootcert=<location 
of root.pem file on the client>}

Note that the value of pqopt must be enclosed with braces.
Any libpq connection parameters can be specified in a pqopt option.

regards,
Hiroshi Inoue


-- 
Sent via pgsql-odbc mailing list (pgsql-odbc@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-odbc



view thread (18+ messages)  latest in thread

Message-ID: <94eae516-0160-e83c-7b78-ce769a34cb40@dream.email.ne.jp>
Permalink:  ../94eae516-0160-e83c-7b78-ce769a34cb40@dream.email.ne.jp/
Also on:    postgresql.org/message-id/94eae516-0160-e83c-7b78-ce769a34cb40@dream.email.ne.jp

 · 

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: h-inoue@dream.email.ne.jp, apurva12mar@gmail.com
  Subject: Re: Fwd: Connection string parameter sslrootcert does not work
  In-Reply-To: <94eae516-0160-e83c-7b78-ce769a34cb40@dream.email.ne.jp>
  References: <CCEAEAA1-3B22-4AA2-BA22-C41B6799C908@amazon.com> <CAEnV6tZMEbmWuALUTBmjNk-q4Av7JHN0x7y9zO8_JdW4rSrPkA@mail.gmail.com> <e8035ec4-a14e-3a9c-32f1-a8dee13a303c@dream.email.ne.jp> <CAEnV6tYoN9_BcNw_XBCOPUbkPGJ2PP8paUTP5K8fdqQjw5842g@mail.gmail.com> <9e74d009-47e4-fc89-de30-dab726b9ee7f@dream.email.ne.jp> <CAEnV6tZm=KuOnLPx+CcS_5D-5g6EiZMmKtv+28bxcyq20+d-dA@mail.gmail.com> <94eae516-0160-e83c-7b78-ce769a34cb40@dream.email.ne.jp>

* 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