pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Oliver Jowett <oliver@opencloud.com>
To: Paul Lindner <lindner@inuus.com>
Cc: Gregory Stark <stark@enterprisedb.com>
Cc: pgsql-jdbc@postgresql.org
Subject: Re: Prepared Statements vs. pgbouncer
Date: Sun, 30 Sep 2007 20:11:04 +1300
Message-ID: <46FF4C08.2090608@opencloud.com> (raw)
In-Reply-To: <20070930070725.GL3140@inuus.com>
References: <20070929002513.GG3140@inuus.com>
	<87sl4xvmn2.fsf@oxford.xeocode.com>
	<20070929144635.GK3140@inuus.com>
	<46FED6A2.8000209@opencloud.com>
	<20070930070725.GL3140@inuus.com>

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



view thread (48+ messages)  latest in thread

Message-ID: <46FF4C08.2090608@opencloud.com>
Permalink:  ../46FF4C08.2090608@opencloud.com/
Also on:    postgresql.org/message-id/46FF4C08.2090608@opencloud.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-jdbc@postgresql.org
  Cc: oliver@opencloud.com, lindner@inuus.com, stark@enterprisedb.com
  Subject: Re: Prepared Statements vs. pgbouncer
  In-Reply-To: <46FF4C08.2090608@opencloud.com>
  References: <20070929002513.GG3140@inuus.com> <87sl4xvmn2.fsf@oxford.xeocode.com> <20070929144635.GK3140@inuus.com> <46FED6A2.8000209@opencloud.com> <20070930070725.GL3140@inuus.com> <46FF4C08.2090608@opencloud.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox