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 2083AD1B233 for ; Tue, 8 Jun 2004 17:24:06 -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 58923-07 for ; Tue, 8 Jun 2004 20:24:05 +0000 (GMT) Received: from tf1.tapsellferrier.co.uk (tf1.tapsellferrier.co.uk [80.168.156.73]) by svr1.postgresql.org (Postfix) with ESMTP id 86777D1C9E6 for ; Tue, 8 Jun 2004 17:24:01 -0300 (ADT) Received: from tf2.tapsellferrier.co.uk ([80.168.156.74] helo=kanga) by tf1.tapsellferrier.co.uk with esmtp (Exim 4.30 #1 (Debian)) id 1BXmyI-000073-VG; Tue, 08 Jun 2004 21:13:22 +0100 Received: from [127.0.0.1] (helo=kanga ident=nferrier) by kanga with esmtp (Exim 4.30 #1 (Debian)) id 1BXmyC-0000oF-Kr; Tue, 08 Jun 2004 21:13:16 +0100 To: Kris Jurka Cc: "Brian G. Huber" , pgsql-jdbc@postgresql.org Subject: Re: Cursor returned from procedure ignores setFetchSize() on References: <002301c44d6b$82b1b420$6400a8c0@bghthinkpad> From: Nic Ferrier Date: 08 Jun 2004 21:12:55 +0100 In-Reply-To: Message-ID: <878yex7qrc.fsf@tapsellferrier.co.uk> Lines: 13 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: 200406/41 X-Sequence-Number: 10243 Kris Jurka writes: > I was under the impression that refcursor returning functions would fade > with the advent of easier set returning functions. Have you considered > using them instead? The advantage of returning refcursor seems to me that > you don't need to create a pseudo type for the return value, or deal with > specifying record types in the query. Are there other advantages I'm > missing? Portability. Efficiency. Nic