Patch for handling unknown data types in jdbc driver

Поиск
Список
Период
Сортировка
От Dave Cramer
Тема Patch for handling unknown data types in jdbc driver
Дата
Msg-id 003a01c14c3d$3b162e70$c201a8c0@inspiron
обсуждение исходный текст
Ответ на Re: NLS for POSTGRESQL (Russian)  (Bruce Momjian <pgman@candle.pha.pa.us>)
Ответы Re: Patch for handling unknown data types in jdbc driver  (Bruce Momjian <pgman@candle.pha.pa.us>)
Re: Patch for handling unknown data types in jdbc driver  (Bruce Momjian <pgman@candle.pha.pa.us>)
Список pgsql-patches
Attached is a patch which deals with

select 'id' as xxx from table

The issue is:

When the driver gets a data type which does not map into the SQL.Types
it attempts to load the object into a java object. Eventually throwing
an exception indicating that the type "unknown" was not found.

Since the backend defaults "unknown" types to text it was suggested that
the jdbc driver do the same.

This patch does just that.

I have tested it on the above select statement as well as a small
program that serializes, and deserializes a class

Dave

Вложения

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

Предыдущее
От: Bradley McLean
Дата:
Сообщение: Patch to make int8 values work inside plpython functions
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: Patch to make int8 values work inside plpython functions