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

From Dave Cramer
Subject Re: Bug with callable statement and output parameters
Date
Msg-id D1540280-8349-4D06-9CBE-97316A7D48E6@fastcrypt.com
Whole thread Raw
In response to Re: Bug with callable statement and output parameters  (Kris Jurka <books@ejurka.com>)
List pgsql-jdbc
Yeah,

The whole out parameters thing is a bit screwy since we don't support
real parameters.

This makes sense as it's pretty much the same as what I did for the
7.3 server.

Dave
On 23-May-06, at 4:30 PM, Kris Jurka wrote:

>
>
> 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
> <out-params-pre81-v3.patch>


pgsql-jdbc by date:

Previous
From: Kris Jurka
Date:
Subject: Re: Bug with callable statement and output parameters
Next
From: Kris Jurka
Date:
Subject: Re: New jdbc builds soon?