Received: from localhost (unknown [200.46.204.187]) by postgresql.org (Postfix) with ESMTP id 0DC739F993B for ; Sun, 30 Sep 2007 12:39:24 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.187]) (amavisd-maia, port 10024) with ESMTP id 46517-10 for ; Sun, 30 Sep 2007 12:39:18 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.5 Received: from outmail136052.authsmtp.co.uk (outmail136052.authsmtp.co.uk [62.13.136.52]) by postgresql.org (Postfix) with ESMTP id 3F4089F991F for ; Sun, 30 Sep 2007 12:39:18 -0300 (ADT) Received: from outmail128180.authsmtp.com (outmail128180.authsmtp.com [62.13.128.180]) by punt2.authsmtp.com (8.13.8/8.13.8/Kp) with ESMTP id l8UFd6Jq028926; Sun, 30 Sep 2007 16:39:07 +0100 (BST) Received: from josh-berkus-computer-2.local (66-243-88-163.focaldata.net [66.243.88.163] (may be forged)) (authenticated bits=0) by mail.authsmtp.com (8.13.8/8.13.8/Kp) with ESMTP id l8UFd4G7013935; Sun, 30 Sep 2007 16:39:05 +0100 (BST) Message-ID: <46FFC314.5080205@agliodbs.com> Date: Sun, 30 Sep 2007 11:39:00 -0400 From: Josh Berkus User-Agent: Thunderbird 2.0.0.6 (Macintosh/20070728) MIME-Version: 1.0 To: Oliver Jowett CC: pgsql-jdbc@postgresql.org Subject: Re: Prepared Statements vs. pgbouncer References: <20070929002513.GG3140@inuus.com> <46FDA4F2.8080507@opencloud.com> <20070929021522.GH3140@inuus.com> <24584.1191033096@sss.pgh.pa.us> <20070929072159.GI3140@inuus.com> <46FE3B1A.7020603@agliodbs.com> <46FED7FA.6060309@opencloud.com> In-Reply-To: <46FED7FA.6060309@opencloud.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Server-Quench: 474001b5-6f6b-11dc-b86a-001185d377ca X-AuthRoute: OCdyZgscClZXSx8a IioLCC5HRQ8+YBZL BAkGMA9GIUINWEQL c1ABdh1oPUVbHwkB BHYKXV5XWVdxXy1z bRRTaQZDakJQXgNp T0pMQFdNFEs0CXl3 UhppVRlzdAxFfTB5 ZkQsWndfXER7J0Ng RBhSR3AHZDMzdTIX VhFFdwNVcQtPKhxC bQMuGhFYa3VsHA4S NDp7Byo8JTxFJSgd eR0EMV8XTEAXBXYi XFZKBTolGlADTCgp RyAn X-Authentic-SMTP: 61633136333939.squirrel.dmpriest.net.uk:752/Kp X-Report-SPAM: If SPAM / abuse - report it at: http://www.authsmtp.com/abuse X-Virus-Status: No virus detected - but ensure you scan with your own anti-virus system! X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0.001 tagged_above=0 required=5 tests=BAYES_50=0.001 X-Spam-Level: X-Archive-Number: 200709/148 X-Sequence-Number: 17570 Oliver, > S_1 from client 1 might be a completely different query to S_1 from > client 2. The JDBC driver just numbers statements sequentially as they > are used. So, how does j2EE-side connection pooling handle this? --Josh