Received: from localhost (unknown [200.46.204.191]) by postgresql.org (Postfix) with ESMTP id 63E709F9B8C for ; Mon, 1 Oct 2007 18:04:10 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.191]) (amavisd-maia, port 10024) with ESMTP id 94501-02 for ; Mon, 1 Oct 2007 18:04:06 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.5 Received: from tremor.opencloud.co.nz (tremor.opencloud.co.nz [131.203.101.230]) by postgresql.org (Postfix) with ESMTP id 92D629F9392 for ; Mon, 1 Oct 2007 18:04:06 -0300 (ADT) Received: from 222-154-155-16.jetstream.xtra.co.nz ([222.154.155.16] helo=[10.1.1.3]) by tremor.opencloud.co.nz with esmtpsa (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.63) (envelope-from ) id 1IcSQn-0004FE-U1; Tue, 02 Oct 2007 10:03:58 +1300 Message-ID: <470160C0.6020907@opencloud.com> Date: Tue, 02 Oct 2007 10:04:00 +1300 From: Oliver Jowett User-Agent: Thunderbird 2.0.0.6 (Windows/20070728) MIME-Version: 1.0 To: Paul Lindner CC: Josh Berkus , Heikki Linnakangas , pgsql-jdbc@postgresql.org Subject: Re: Prepared Statements vs. pgbouncer References: <24584.1191033096@sss.pgh.pa.us> <4701402A.2020804@agliodbs.com> <20071001193153.GN3140@inuus.com> <200710011249.19142.josh@agliodbs.com> <20071001203432.GO3140@inuus.com> In-Reply-To: <20071001203432.GO3140@inuus.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200710/25 X-Sequence-Number: 17597 Paul Lindner wrote: > Why doesn't the Postgres JDBC driver use cursors for ResultSets > instead of creating prepared statements? Is this not supported in the > v3 protocol? (I'd answer this question myself, but no time to read > code at the moment...) It uses portals which are the v3 equivalent of cursors. If you are serious about solving these problems I think you really need to go and read the v3 protocol spec at a minimum. -O