BUG #1624: connect uses properties before URL

Поиск
Список
Период
Сортировка
От Tom Donovan
Тема BUG #1624: connect uses properties before URL
Дата
Msg-id 20050425132932.500A1F0C25@svr2.postgresql.org
обсуждение исходный текст
Ответы Re: BUG #1624: connect uses properties before URL  (Kris Jurka <books@ejurka.com>)
Список pgsql-bugs
The following bug has been logged online:

Bug reference:      1624
Logged by:          Tom Donovan
Email address:      tdonovan@macromedia.com
PostgreSQL version: 8-0-311
Operating system:   Windows 2000
Description:        connect uses properties before URL
Details:

The JDBC DriverManager calls connect() in all loaded drivers to find a
driver for a URL.

The PostgreSQL driver iterates the properties before checking if it is a
PostgreSQL URL.  If properties for any other driver are large (i.e. for an
in-memory db) or not String (as they should be) - this fails.

Recommend adding one line at
postgresql-jdbc-8.0-311.src\org\postgresql\Driver.java.in   line 203

    if (! url.toLowerCase().startsWith("jdbc:postgresql:")) return null;  //
not our URL

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

Предыдущее
От: Olleg Samoylov
Дата:
Сообщение: Re: BUG #1610: rewrite rule and sequence
Следующее
От: "Diarmaid Foley"
Дата:
Сообщение: BUG #1623: COPY and unicode