Re: Bug with callable statement and output parameters

Поиск
Список
Период
Сортировка
От Kris Jurka
Тема Re: Bug with callable statement and output parameters
Дата
Msg-id Pine.BSO.4.63.0605231511360.2928@leary2.csoft.net
обсуждение исходный текст
Ответ на Re: Bug with callable statement and output parameters  (Kris Jurka <books@ejurka.com>)
Ответы Re: Bug with callable statement and output parameters  (Dave Cramer <pg@fastcrypt.com>)
Список pgsql-jdbc

On Tue, 23 May 2006, Kris Jurka wrote:

>> On Sun, 21 May 2006, Dave Cramer wrote:
>>
>>> Attached is a patch that works on 8.1 and 7.3 for sure
>>>
>
> Unfortunately it does not work when run against a 8.0 server.
>

The issues is that every function call will have at least one out
parameter whether it's been registered or not.  For pre 8.1 servers
using the v3 protocol the out parameter was not being registered in the
SimpleParameterList and can't be because of lack of server support.
The patch adjusts getOutParameterCount to return at least 1.

I need to do some more careful testing after the recent bad releases, but
hopefully I'll put out new 8.0 and 8.1 releases tonight.

Kris Jurka

Вложения

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

Предыдущее
От: Glenn Holmer
Дата:
Сообщение: Re: reading null date field
Следующее
От: Dave Cramer
Дата:
Сообщение: Re: Bug with callable statement and output parameters