Re: Bug with callable statement and output parameters - Mailing list pgsql-jdbc

From Kris Jurka
Subject Re: Bug with callable statement and output parameters
Date
Msg-id Pine.BSO.4.63.0605231511360.2928@leary2.csoft.net
Whole thread Raw
In response to Re: Bug with callable statement and output parameters  (Kris Jurka <books@ejurka.com>)
Responses Re: Bug with callable statement and output parameters
List 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

Attachment

pgsql-jdbc by date:

Previous
From: Glenn Holmer
Date:
Subject: Re: reading null date field
Next
From: Dave Cramer
Date:
Subject: Re: Bug with callable statement and output parameters