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 1C87452803 for ; Wed, 25 May 2005 12:00:18 -0300 (ADT) 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 14929-06 for ; Wed, 25 May 2005 15:00:11 +0000 (GMT) Received: from iteso.mx (iteso.mx [148.201.1.4]) by svr1.postgresql.org (Postfix) with ESMTP id EF2CA5284D for ; Wed, 25 May 2005 12:00:06 -0300 (ADT) Received: from localhost (localhost.localdomain [127.0.0.1]) by iteso.mx (Postfix) with ESMTP id 4F6311F5585; Wed, 25 May 2005 10:00:05 -0500 (CDT) Received: from iteso.mx ([127.0.0.1]) by localhost (iteso.mx [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 06615-02; Wed, 25 May 2005 10:00:03 -0500 (CDT) Received: by iteso.mx (Postfix, from userid 33) id D945C1F5599; Wed, 25 May 2005 10:00:03 -0500 (CDT) Received: from 200.94.197.211 ([200.94.197.211]) by iteso.mx (IMP) with HTTP for ; Wed, 25 May 2005 10:00:03 -0500 Message-ID: <1117033203.429492f3bed49@iteso.mx> Date: Wed, 25 May 2005 10:00:03 -0500 From: hiuguis@iteso.mx To: Kris Jurka , pgsql-jdbc@postgresql.org Subject: Re: Problem catching multiple values References: <1116969045.42939855b95f0@iteso.mx> In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit User-Agent: Internet Messaging Program (IMP) 3.2.6 X-Originating-IP: 200.94.197.211 X-Virus-Scanned: by amavisd-new-20030616-p10 (Debian) at iteso.mx X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.178 tagged_above=0 required=5 tests=NO_REAL_NAME X-Spam-Level: X-Archive-Number: 200505/104 X-Sequence-Number: 12935 Thank you Kris. I had made the changes and now its working fine. Thanks again. Mensaje citado por Kris Jurka : > > > On Tue, 24 May 2005 hiuguis@iteso.mx wrote: > > > Im having an problem when I try to catch multiple values from an SETOF > > float8 pgsql function invoked from java. This is the message that I get: > > CallableStatements cannot be used for SETOF functions, only refcursor > returning functions. It is best to call this with a normal > PreparedStatement or Statement that returns a ResultSet in the standard > fashion: SELECT * FROM mysrf(); > > Kris Jurka > > ---------------------------(end of broadcast)--------------------------- > TIP 8: explain analyze is your friend >