Re: [JDBC] Bug (?) in JDB

From: Kris Jurka <books(at)ejurka(dot)com>
To: Calum <caluml(at)gmail(dot)com>
Cc: pgsql-jdbc(at)postgresql(dot)org, pgsql-general(at)postgresql(dot)org
Subject: Re: [JDBC] Bug (?) in JDB
Date: 2008-01-21 22:23:30
Message-ID: Pine.BSO.4.64.0801211720440.29263@leary.csoft.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-jdbc

On Mon, 21 Jan 2008, Calum wrote:

> I've noticed that when using Java and postgres-jdbc, setting ssl=false
> in Properties doesn't get read, and ssl=false and ssl=true both cause
> SSL to be tried.
>

The current implementation sees the mere presence of "ssl" as a request
for ssl, as the original implementation and docs suggested using "?ssl"
alone. At various times we've discussed changing this to be more like
libpq's try/require options, but that's how it is now. So it's not ideal,
but it is working as designed. If you don't want ssl, don't set the
property at all.

Kris Jurka

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Henrry Joshney Servitá Sánchez 2008-01-21 22:38:03 publicar
Previous Message lan ping 2008-01-21 22:17:18 Re: Problem of capital case-insensitive letter with accent

Browse pgsql-jdbc by date

  From Date Subject
Next Message Peter Koczan 2008-01-24 19:30:24 Re: JDBC and GSSAPI/Krb5
Previous Message Calum 2008-01-21 14:00:34 Bug (?) in JDB