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: 4D94D9E7.6080807@ejurka.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
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

Attachment Content-Type Size
Conn.java text/x-java 408 bytes

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Kevin Grittner 2011-03-31 22:33:59 Re: Postgres not using indexes
Previous Message Greg Stark 2011-03-31 17:28:50 Re: Postgres not using indexes