Skip site navigation (1) Skip section navigation (2)

Re: BUG #5961: JDBC Driver acceptURL does not check 'jdbc:postgresql:'

From: Kris Jurka <books(at)ejurka(dot)com>
To: DI Martin Handsteiner <martin(dot)handsteiner(at)sibvisions(dot)com>
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: BUG #5961: JDBC Driver acceptURL does not check 'jdbc:postgresql:'
Date: 2011-03-31 19:45:43
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-bugs
On 3/31/2011 8:50 AM, DI Martin Handsteiner wrote:
> thank you very much for your fast response.
> The problem with the current implementation of acceptsURL in the the
> postgres driver is, that it also returns true if the connection url is like:
> jdbc:oraclethin:......
> jdbc:hsqldb:......
> That is the reason, why connections to other databases than postgres are not
> possible, if you use also a postgres driver.

I understand what your problem description is now, but I'm not seeing 
that in a simple test case here.  Can you provide the actual URLs that 
make the attached code accept a non-postgresql URL?

Kris Jurka

Description: text/x-java (408 bytes)

In response to


pgsql-bugs by date

Next:From: Kevin GrittnerDate: 2011-03-31 22:33:59
Subject: Re: Postgres not using indexes
Previous:From: Greg StarkDate: 2011-03-31 17:28:50
Subject: Re: Postgres not using indexes

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group