Received: from localhost (unknown [200.46.204.184]) by postgresql.org (Postfix) with ESMTP id 245499F9768 for ; Sun, 30 Sep 2007 04:11:23 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.184]) (amavisd-maia, port 10024) with ESMTP id 39348-01 for ; Sun, 30 Sep 2007 04:11:11 -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 387159F97CC for ; Sun, 30 Sep 2007 04:11:13 -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 1IbsxH-0005sx-Bk; Sun, 30 Sep 2007 20:11:07 +1300 Message-ID: <46FF4C08.2090608@opencloud.com> Date: Sun, 30 Sep 2007 20:11:04 +1300 From: Oliver Jowett User-Agent: Thunderbird 2.0.0.6 (Windows/20070728) MIME-Version: 1.0 To: Paul Lindner CC: Gregory Stark , pgsql-jdbc@postgresql.org Subject: Re: Prepared Statements vs. pgbouncer References: <20070929002513.GG3140@inuus.com> <87sl4xvmn2.fsf@oxford.xeocode.com> <20070929144635.GK3140@inuus.com> <46FED6A2.8000209@opencloud.com> <20070930070725.GL3140@inuus.com> In-Reply-To: <20070930070725.GL3140@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: 200709/147 X-Sequence-Number: 17569 Paul Lindner wrote: > 2) If we try to prepare a statement with an hashed name and it already > exists then we ignore the error and continue. Errors will cause the current transaction to fail.. > 3) If we receive an error while executing a prepared statement with an > hashed name the driver will try to re-prepare the statement and > re-execute the query. If an error occurs after this retry step then > error are surfaced to the caller. ... so you can't just back off and try again. -O