Re: Connecting over UNIX domain sockets

Поиск
Список
Период
Сортировка
От Craig Ringer
Тема Re: Connecting over UNIX domain sockets
Дата
Msg-id 4E090211.8010502@postnewspapers.com.au
обсуждение исходный текст
Ответ на Re: Connecting over UNIX domain sockets  (Phil Clay <pilf_b@yahoo.com>)
Ответы Re: Connecting over UNIX domain sockets  (Bruno Harbulot <bruno@distributedmatter.net>)
Список pgsql-jdbc
On 06/28/2011 03:02 AM, Phil Clay wrote:

> However, contrary to mysql's jdbc driver, postgres' jdbc driver does not appear
> to be designed in a way that a different Socket implementation could be easily
> "plugged in".

There's already support for pluggable SSLSocketFactories to wrap
sockets. Adding pluggable SocketFactory support wouldn't seem to be
overly hard, I just suspect it's a combination of nobody having needed
it and nobody having wanted it enough to take the time to write a patch.

The JDBC driver is readable and not hard to understand, so maybe you
could chuck a patch together?

(Fighting very hard to say "Oh, I'll do something like that" when I've
already volunteered for way too much).

--
Craig Ringer

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

Предыдущее
От: Maciek Sakrejda
Дата:
Сообщение: Re: bytea performance tweak
Следующее
От: Andreas Schmitz
Дата:
Сообщение: Re: bytea performance tweak