Re: BUG #5961: JDBC Driver acceptURL does not check 'jdbc:postgresql:' - Mailing list pgsql-bugs

From Kris Jurka
Subject Re: BUG #5961: JDBC Driver acceptURL does not check 'jdbc:postgresql:'
Date
Msg-id 4D94D9E7.6080807@ejurka.com
Whole thread Raw
In response to BUG #5961: JDBC Driver acceptURL does not check 'jdbc:postgresql:'  ("Martin Handsteiner" <martin.handsteiner@sibvisions.com>)
List 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

pgsql-bugs by date:

Previous
From: Greg Stark
Date:
Subject: Re: Postgres not using indexes
Next
From: "Kevin Grittner"
Date:
Subject: Re: Postgres not using indexes