Re: Socket read fails

Поиск
Список
Период
Сортировка
От Oliver Jowett
Тема Re: Socket read fails
Дата
Msg-id 43D80A00.2070505@opencloud.com
обсуждение исходный текст
Ответ на Re: Socket read fails  (David Hustace <david@opennms.org>)
Ответы Re: Socket read fails  (David Hustace <david@opennms.org>)
Список pgsql-jdbc
David Hustace wrote:

>> Can you reproduce this with a recent driver and loglevel=2 (append  it
>> as a URL parameter to your JDBC URL) and send me the resulting  debug
>> output offlist? It sounds like it might be hard to trigger  though :(
>
>
> Sure.  I already have that enabled.  Finding the output is tricky.

The debug output should be going to the DriverManager log stream, or
stderr if that's not set.

> Also, for future reference, can you tell me if the call to
> PGSimpleDataSource.getConnection() is thread safe?

It does not change the state of the datasource and just delegates to
DriverManager to do the real work, so it should be threadsafe.

-O

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

Предыдущее
От: David Hustace
Дата:
Сообщение: Re: Socket read fails
Следующее
От: David Hustace
Дата:
Сообщение: Re: Socket read fails