Received: from localhost (maia-4.hub.org [200.46.204.183]) by postgresql.org (Postfix) with ESMTP id D42899FB83C for ; Mon, 2 Jul 2007 15:52:35 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 89793-06 for ; Mon, 2 Jul 2007 15:52:31 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.4 Received: from mail63.csoft.net (leary.csoft.net [205.205.214.5]) by postgresql.org (Postfix) with SMTP id 7984F9FB53D for ; Mon, 2 Jul 2007 15:52:31 -0300 (ADT) Received: (qmail 20623 invoked by uid 1112); 2 Jul 2007 18:52:30 -0000 Date: Mon, 2 Jul 2007 14:52:30 -0400 (EDT) From: Kris Jurka X-X-Sender: books@leary.csoft.net To: "thomas.risberg" cc: pgsql-jdbc@postgresql.org Subject: Re: getProcedureColumns In-Reply-To: <11399288.post@talk.nabble.com> Message-ID: References: <1C85230A-C17D-4601-B84E-6F43176C5D6D@gmail.com> <53951298-D245-4EB2-9C3E-EA05A48C77BA@gmail.com> <1D8F84DE-26E9-4C88-B6F4-A7A74B85DE5C@gmail.com> <3599D18B-946A-461B-9429-89E0A4868345@gmail.com> <110D999D-C0C2-47D8-8905-56B3CA04ED45@gmail.com> <11398134.post@talk.nabble.com> <11399288.post@talk.nabble.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200707/8 X-Sequence-Number: 17182 On Mon, 2 Jul 2007, thomas.risberg wrote: > So it seems that it is not possible to construct the appropriate call > sequence just based on the metadata when there are multiple out > parameters. > Right, the current metadata returned is based on the pg_proc.argtypes field which only contains the in and in/out parameters to a function. A new column pg_proc.allargtypes was added in support of out functions and the driver was never updated to use it. So that should be part of the fixes that the patch under discussion covers. If your willing to do some testing I've built a driver version with the patch included and put it up here: http://www.ejurka.com/pgsql/jars/tr/ Kris Jurka