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

Поиск
Список
Период
Сортировка
От Kris Jurka
Тема Re: BUG #5961: JDBC Driver acceptURL does not check 'jdbc:postgresql:'
Дата
Msg-id alpine.BSO.2.00.1103311056470.25650@leary.csoft.net
обсуждение исходный текст
Ответ на BUG #5961: JDBC Driver acceptURL does not check 'jdbc:postgresql:'  ("Martin Handsteiner" <martin.handsteiner@sibvisions.com>)
Список pgsql-bugs
On Thu, 31 Mar 2011, Martin Handsteiner wrote:

>
> The following bug has been logged online:
>
> Bug reference:      5961
> PostgreSQL version: 9.0 Build 801
> Description:        JDBC Driver acceptURL does not check 'jdbc:postgresql:'
> Details:
>
> JDBC Driver acceptURL does not check 'jdbc:postgresql:'

I'm not sure what check you want it to make.  It is a valid JDBC
connection string.  Testing here shows that it falls back from a v3 to a
v2 protocol connection when a database name is not provided, but it does
still seem to work.

> We have to connect to several Databases on the server. Due to the wrong
> implementation of acceptURL in the Postgres jdbc driver, connecting to any
> other database is impossible.
>

I'm not sure what you mean.  If you don't provide a database name, how do
you expect it to connect to different databases?

Kris Jurka

В списке pgsql-bugs по дате отправления:

Предыдущее
От: fhaegele
Дата:
Сообщение: Re: [GENERAL] postgresql-8.4 error
Следующее
От: Greg Stark
Дата:
Сообщение: Re: Postgres not using indexes