Received: from mail.retep.org.uk ([216.126.85.184]) by mail.postgresql.org (8.11.1/8.11.1) with ESMTP id f0RC26q43523; Sat, 27 Jan 2001 07:02:06 -0500 (EST) (envelope-from peter@retep.org.uk) Received: from heather.retep.org.uk ([193.113.113.148]) (authenticated) by mail.retep.org.uk (8.11.1/8.11.1) with ESMTP id f0RC21O43508; Sat, 27 Jan 2001 07:02:01 -0500 (EST) (envelope-from peter@retep.org.uk) Message-Id: <5.0.2.1.0.20010127115902.009e4670@mail.retep.org.uk> X-Sender: peter@mail.retep.org.uk X-Mailer: QUALCOMM Windows Eudora Version 5.0.2 Date: Sat, 27 Jan 2001 12:00:42 +0000 To: Greg Speegle , Ron Sofrin From: Peter Mount Subject: Re: Invoking sql functions through jdbc Cc: pgsql-interfaces@postgresql.org, pgsql-jdbc@postgresql.org In-Reply-To: <20010127.3040903@gregs.wireless.calpha.com> References: <94qsgr$aac$1@news.tht.net> <94qsgr$aac$1@news.tht.net> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed X-Archive-Number: 200101/309 X-Sequence-Number: 935 At 03:04 27/01/01 +0000, Greg Speegle wrote: >Hi Ron, > >You can call postgresql functions from a normal statement, although I >don't know if you can have it return multiple result sets. The network protocol supports it, and so should Statement/Prepared statement. However, I've never got it to actually do it. PS: All JDBC related stuff should be going to the new pgsql-jdbc list. Peter >I've assigned a class project to a graduate database class to work on the >CallableStatment interface for the JDBC driver. I hope we'll have >something for you by May. > >Greg Speegle >Baylor University > > >>>>>>>>>>>>>>>>>> Original Message <<<<<<<<<<<<<<<<<< > >On 1/25/01, 9:57:32 PM, "Ron Sofrin" wrote >regarding [INTERFACES] Invoking sql functions through jdbc: > > > > Hi all, > > > I am trying to invoke a postgres sql function though JDBC using the > > CallableStatment object. I have build the driver with it's jdbc1.2 >option. > > However, I am getting the following exception "Callable statments are not > > supported at this time" > > > Does any one have an idea if there is a work around it? > > > I have noticed that there is something called the Fastpath API. Is there >any > > way to get a result set (and not byte[]) out of it? > > > thanks > > > Ron