X-Original-To: pgsql-jdbc-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id C264C329F07 for ; Thu, 16 Sep 2004 10:06:53 +0100 (BST) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 15048-07 for ; Thu, 16 Sep 2004 09:06:50 +0000 (GMT) Received: from mail63.csoft.net (leary3.csoft.net [63.111.22.74]) by svr1.postgresql.org (Postfix) with SMTP id A7763329E6B for ; Thu, 16 Sep 2004 10:06:50 +0100 (BST) Received: (qmail 28182 invoked by uid 1112); 16 Sep 2004 09:00:45 -0000 Date: Thu, 16 Sep 2004 04:00:45 -0500 (EST) From: Kris Jurka X-X-Sender: books@leary.csoft.net To: Dave Cramer Cc: "pgsql-jdbc@postgresql.org" Subject: Re: multiple out parameters implementation In-Reply-To: <1094043108.1554.198.camel@localhost.localdomain> Message-ID: References: <1094043108.1554.198.camel@localhost.localdomain> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.0 tagged_above=0.0 required=5.0 tests= X-Spam-Level: X-Archive-Number: 200409/80 X-Sequence-Number: 10970 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