Pantek Library
Hosting Provided By
CybrHost
High Speed Hosting

Re: [JDBC] Bug (?) in JDB

From: Kris Jurka <books(at)ejurka.com>
Date: Mon Jan 21 2008 - 17:23:30 EST

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

---------------------------(end of broadcast)---------------------------
TIP 9: In versions below 8.0, the planner will ignore your desire to
       choose an index scan if your joining column's datatypes do not
       match
Received on Mon Jan 21 17:25:30 2008

This archive was generated by hypermail 2.1.8 : Wed Jun 18 2008 - 23:43:11 EDT


Contact Us  Legal Notices  Order Services Online 
Pantek Home  Privacy Policy  IT news  Site Map  Pantek Library