X-Original-To: pgsql-jdbc-postgresql.org@localhost.postgresql.org Received: from localhost (mx1.hub.org [200.46.208.251]) by postgresql.org (Postfix) with ESMTP id D8C219FA43B for ; Tue, 23 May 2006 18:59:29 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.208.251]) (amavisd-new, port 10024) with ESMTP id 53995-02 for ; Tue, 23 May 2006 18:59:23 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey- Received: from net2.micro-automation.com (net2.micro-automation.com [64.7.141.29]) by postgresql.org (Postfix) with SMTP id 58DFC9F9398 for ; Tue, 23 May 2006 18:59:23 -0300 (ADT) Received: (qmail 4788 invoked from network); 23 May 2006 21:59:22 -0000 Received: from dcdsl.ebox.com (HELO ?192.168.1.2?) (davec@64.7.143.116) by net2.micro-automation.com with SMTP; 23 May 2006 21:59:22 -0000 In-Reply-To: References: <3f205b320604201502o112f68abhafbc0a2e0a845218@mail.gmail.com> <3f205b320604201703x2d5a52c7s214a039e36539a8a@mail.gmail.com> <2FAEA9A5-D1E5-4FEF-B464-46C730E6F356@fastcrypt.com> <9726A637-9B48-426F-91A9-E1CBB6F1265B@fastcrypt.com> <0BEEAF9A-2E47-4E4F-AE8D-2846076FA037@fastcrypt.com> Mime-Version: 1.0 (Apple Message framework v750) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: Cc: List Content-Transfer-Encoding: 7bit From: Dave Cramer Subject: Re: Bug with callable statement and output parameters Date: Tue, 23 May 2006 17:59:20 -0400 To: Kris Jurka X-Mailer: Apple Mail (2.750) X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200605/117 X-Sequence-Number: 15245 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 >