pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Kris Jurka <books@ejurka.com>
To: Dave Cramer <pg@fastcrypt.com>
Cc: pgsql-jdbc@postgresql.org <pgsql-jdbc@postgresql.org>
Subject: Re: multiple out parameters implementation
Date: Thu, 16 Sep 2004 04:00:45 -0500 (EST)
Message-ID: <Pine.BSO.4.56.0409160347320.20135@leary.csoft.net> (raw)
In-Reply-To: <1094043108.1554.198.camel@localhost.localdomain>
References: <1094043108.1554.198.camel@localhost.localdomain>



On Wed, 1 Sep 2004, Dave Cramer wrote:

> I've managed to hack into the jdbc driver the capability for multiple
> out parameters from a postgresql function.
>
> I would like to query the list as to their thoughts, is this a useful
> feature for the driver ?
> 

This is a useful feature because it's currently the only way to port
certain things, but it's clearly not very straightforward and it causes
some non trivial thinking on the parts of the database and Java developers
to get their code to match up.

Until just today I was in favor of this as we don't have any other options
or any hope for a real procedure interface in the near future, but today
on -hackers Gavin Sherry and Neil Conway indicated that they have a
proposal for implementing this feature in the backend.  I'd say lets take 
a look at the proposal and if we believe they've got a decent shot at 
getting this in 8.1 then we hold off on this hack.  The method you 
proposed is pretty complicated and would introduce a pretty bad backwards 
compatibility problem.

Kris Jurka



view thread (4+ messages)  latest in thread

Message-ID: <Pine.BSO.4.56.0409160347320.20135@leary.csoft.net>
Permalink:  ../Pine.BSO.4.56.0409160347320.20135@leary.csoft.net/
Also on:    postgresql.org/message-id/Pine.BSO.4.56.0409160347320.20135@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, pg@fastcrypt.com
  Subject: Re: multiple out parameters implementation
  In-Reply-To: <Pine.BSO.4.56.0409160347320.20135@leary.csoft.net>
  References: <1094043108.1554.198.camel@localhost.localdomain> <Pine.BSO.4.56.0409160347320.20135@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