Re: boolean and void CallableStatement return types

Поиск
Список
Период
Сортировка
От Kris Jurka
Тема Re: boolean and void CallableStatement return types
Дата
Msg-id Pine.BSO.4.56.0410261217360.2019@leary.csoft.net
обсуждение исходный текст
Ответ на boolean and void CallableStatement return types  (Christian Niles <christian@unit12.net>)
Список pgsql-jdbc

On Tue, 26 Oct 2004, Christian Niles wrote:

> If I define a function that returns a boolean value, the JDBC interface
> throws an error because the reported return type is actually Types.BIT.
> I noticed this was asked at least twice before, once a year ago, and
> once again 2 years ago. No responses were given in the list, as far as
> I could see.

I've just commited a fix to the driver to make this work.

> test=# SELECT * FROM void_func();
> ERROR:  function "void_func" in FROM has unsupported return type
>

I submitted a patch a week ago or so that fixes this on the server side.
It is in 8.0beta4.

Kris Jurka

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

Предыдущее
От: Christian Niles
Дата:
Сообщение: boolean and void CallableStatement return types
Следующее
От: Kris Jurka
Дата:
Сообщение: Re: Problems with protocol V3 after migration to latest driver