pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Jeremy Whiting <jwhiting@redhat.com>
To: Matthieu SANCHEZ <msanchez@magellanset.com>
Cc: Vladimir Sitnikov <sitnikov.vladimir@gmail.com>
Cc: pgsql-jdbc@postgresql.org <pgsql-jdbc@postgresql.org>
Subject: Re: Connection to PgSQL does not use SSL with JDBC driver 9.4 if the parameter is passed through Properties rather than URL
Date: Fri, 15 Jan 2016 14:16:31 +0000
Message-ID: <5698FF3F.4000104@redhat.com> (raw)
In-Reply-To: <CAB=Je-FggYgjrjUZmJFyw_QiPJXiY_EPkrrZSMJ2NAZ4Ln3MVQ@mail.gmail.com>
References: <VI1PR06MB147240A60DDC3F6C5BF4485ED3CD0@VI1PR06MB1472.eurprd06.prod.outlook.com>
	<CAB=Je-FggYgjrjUZmJFyw_QiPJXiY_EPkrrZSMJ2NAZ4Ln3MVQ@mail.gmail.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-jdbc>

On 15/01/16 10:24, Vladimir Sitnikov wrote:
> Hi,
>
> This sounds like a bug.
> Can you file a PR?
> Vladimir
>
>
Hi,
 Take a look at this PR [1]. It fixed a regression released in 1205 release.

 The PR solved the problem of API calls to Driver.setLogLevel(int) not
getting overwritten by a default value being loaded in PgConnection at
line 187 [2].

 It's good this has been raised though and a PR necessary to fix. The
change could go here [3] to adapt to the semantic change of isPresent
method. Now it does not fall back to the default.

Jeremy

[1] https://github.com/pgjdbc/pgjdbc/pull/438
[2]
https://github.com/pgjdbc/pgjdbc/blob/master/pgjdbc/src/main/java/org/postgresql/jdbc/PgConnection.j...
[3]
https://github.com/pgjdbc/pgjdbc/blob/master/pgjdbc/src/main/java/org/postgresql/core/v3/ConnectionF...



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



view thread (4+ messages)  latest in thread

Message-ID: <5698FF3F.4000104@redhat.com>
Permalink:  ../5698FF3F.4000104@redhat.com/
Also on:    postgresql.org/message-id/5698FF3F.4000104@redhat.com

 · 

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-jdbc@postgresql.org
  Cc: jwhiting@redhat.com, msanchez@magellanset.com, sitnikov.vladimir@gmail.com
  Subject: Re: Connection to PgSQL does not use SSL with JDBC driver 9.4 if the parameter is passed through Properties rather than URL
  In-Reply-To: <5698FF3F.4000104@redhat.com>
  References: <VI1PR06MB147240A60DDC3F6C5BF4485ED3CD0@VI1PR06MB1472.eurprd06.prod.outlook.com> <CAB=Je-FggYgjrjUZmJFyw_QiPJXiY_EPkrrZSMJ2NAZ4Ln3MVQ@mail.gmail.com> <5698FF3F.4000104@redhat.com>

* 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