Re: Bug with callable statement and output parameters

From: Dave Cramer <pg(at)fastcrypt(dot)com>
To: Kris Jurka <books(at)ejurka(dot)com>
Cc: List <pgsql-jdbc(at)postgresql(dot)org>
Subject: Re: Bug with callable statement and output parameters
Date: 2006-05-23 21:59:20
Message-ID: D1540280-8349-4D06-9CBE-97316A7D48E6@fastcrypt.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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>

In response to

Browse pgsql-jdbc by date

  From Date Subject
Next Message Kris Jurka 2006-05-23 23:41:43 Re: New jdbc builds soon?
Previous Message Kris Jurka 2006-05-23 20:30:49 Re: Bug with callable statement and output parameters