Re: patch: ResultSetTest.java

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: patch: ResultSetTest.java
Дата
Msg-id 28994.1130273364@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: patch: ResultSetTest.java  (Oliver Jowett <oliver@opencloud.com>)
Ответы Re: patch: ResultSetTest.java  (Oliver Jowett <oliver@opencloud.com>)
Список pgsql-jdbc
Oliver Jowett <oliver@opencloud.com> writes:
> Any plans for the backend to require send/receive functions for all
> types?

Highly unlikely, since that would break most user-defined types in existence.

> Or perhaps something like using the input/output functions if
> send/receive are not present?

Doesn't seem like an amazingly good idea ... how would you know what you
were getting?

A more salient point is exactly what is JDBC going to *do* with data in
an unknown binary format?

You may have to fall back to providing a switch somewhere that says
whether or not to use binary I/O, with the understanding that it's only
safe to turn it on when all the queries use only supported types.

            regards, tom lane

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

Предыдущее
От: Oliver Jowett
Дата:
Сообщение: Re: patch: ResultSetTest.java
Следующее
От: Oliver Jowett
Дата:
Сообщение: Re: patch: ResultSetTest.java