Received: from maia.hub.org (maia-2.hub.org [200.46.204.251]) by mail.postgresql.org (Postfix) with ESMTP id B371BB5DD10 for ; Wed, 26 Oct 2011 12:49:02 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.251]) (amavisd-maia, port 10024) with ESMTP id 29678-01-4 for ; Wed, 26 Oct 2011 15:48:56 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.8.0-rc2 Received: from sam.nabble.com (sam.nabble.com [216.139.236.26]) by mail.postgresql.org (Postfix) with ESMTP id DF3BBB5DD05 for ; Wed, 26 Oct 2011 12:48:43 -0300 (ADT) Received: from [192.168.236.26] (helo=sam.nabble.com) by sam.nabble.com with esmtp (Exim 4.72) (envelope-from ) id 1RJ5ic-0001r6-Pp for pgsql-jdbc@postgresql.org; Wed, 26 Oct 2011 08:48:42 -0700 Date: Wed, 26 Oct 2011 08:48:42 -0700 (PDT) From: fschmidt To: pgsql-jdbc@postgresql.org Message-ID: <1319644122794-4940158.post@n5.nabble.com> In-Reply-To: References: <1319525123309-4935215.post@n5.nabble.com> <1319573262782-4937529.post@n5.nabble.com> <28079.1319575241@sss.pgh.pa.us> <1319609361329-4938781.post@n5.nabble.com> Subject: Re: setFetchSize MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-0.767 tagged_above=-10 required=5 tests=BAYES_00=-1.9, FREEMAIL_FROM=0.001, T_TO_NO_BRKTS_FREEMAIL=0.01, URI_HEX=1.122 X-Spam-Level: X-Archive-Number: 201110/67 X-Sequence-Number: 22320 Dave Cramer-8 wrote: > > There is little hope that you will get what you want. I'm not even > sure I think it's a good idea as cursor with hold consumes resources > on the server which multiplied by an unknown number of connections > might end up being significant. > And how is it any better to force users to open a new connection to use setFetchSize? This would use just as much resources if not more, right? It is just much more inconvenient for programmers, especially in applications like mine that are designed to use one connection per thread. If there is little hope of getting what I want with Postgres, then I will eventually have to look for an alternative database. -- View this message in context: http://postgresql.1045698.n5.nabble.com/setFetchSize-tp4935215p4940158.html Sent from the PostgreSQL - jdbc mailing list archive at Nabble.com.