pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Kris Jurka <books@ejurka.com>
To: thomas.risberg <thomas.risberg@tridb.com>
Cc: pgsql-jdbc@postgresql.org
Subject: Re: getProcedureColumns
Date: Mon, 2 Jul 2007 14:52:30 -0400 (EDT)
Message-ID: <Pine.BSO.4.64.0707021440250.1839@leary.csoft.net> (raw)
In-Reply-To: <11399288.post@talk.nabble.com>
References: <1C85230A-C17D-4601-B84E-6F43176C5D6D@gmail.com>
	<Pine.BSO.4.64.0701311619160.27765@leary2.csoft.net>
	<53951298-D245-4EB2-9C3E-EA05A48C77BA@gmail.com>
	<Pine.BSO.4.64.0701311846100.18318@leary2.csoft.net>
	<1D8F84DE-26E9-4C88-B6F4-A7A74B85DE5C@gmail.com>
	<Pine.BSO.4.64.0702140133500.4318@leary.csoft.net>
	<3599D18B-946A-461B-9429-89E0A4868345@gmail.com>
	<Pine.BSO.4.64.0702141026340.23853@leary.csoft.net>
	<110D999D-C0C2-47D8-8905-56B3CA04ED45@gmail.com>
	<Pine.BSO.4.64.0702141243080.3571@leary.csoft.net>
	<CC7F861E-B729-47E7-BD82-A552100A8F21@gmail.com>
	<Pine.BSO.4.64.0702280240160.9224@leary.csoft.net>
	<11398134.post@talk.nabble.com>
	<Pine.BSO.4.64.0707021335270.10072@leary.csoft.net>
	<11399288.post@talk.nabble.com>



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



view thread (21+ messages)  latest in thread

Message-ID: <Pine.BSO.4.64.0707021440250.1839@leary.csoft.net>
Permalink:  ../Pine.BSO.4.64.0707021440250.1839@leary.csoft.net/
Also on:    postgresql.org/message-id/Pine.BSO.4.64.0707021440250.1839@leary.csoft.net

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-jdbc@postgresql.org
  Cc: books@ejurka.com, thomas.risberg@tridb.com
  Subject: Re: getProcedureColumns
  In-Reply-To: <Pine.BSO.4.64.0707021440250.1839@leary.csoft.net>
  References: <1C85230A-C17D-4601-B84E-6F43176C5D6D@gmail.com> <Pine.BSO.4.64.0701311619160.27765@leary2.csoft.net> <53951298-D245-4EB2-9C3E-EA05A48C77BA@gmail.com> <Pine.BSO.4.64.0701311846100.18318@leary2.csoft.net> <1D8F84DE-26E9-4C88-B6F4-A7A74B85DE5C@gmail.com> <Pine.BSO.4.64.0702140133500.4318@leary.csoft.net> <3599D18B-946A-461B-9429-89E0A4868345@gmail.com> <Pine.BSO.4.64.0702141026340.23853@leary.csoft.net> <110D999D-C0C2-47D8-8905-56B3CA04ED45@gmail.com> <Pine.BSO.4.64.0702141243080.3571@leary.csoft.net> <CC7F861E-B729-47E7-BD82-A552100A8F21@gmail.com> <Pine.BSO.4.64.0702280240160.9224@leary.csoft.net> <11398134.post@talk.nabble.com> <Pine.BSO.4.64.0707021335270.10072@leary.csoft.net> <11399288.post@talk.nabble.com> <Pine.BSO.4.64.0707021440250.1839@leary.csoft.net>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox