Re: Prepared Statements vs. pgbouncer - Mailing list pgsql-jdbc

From Oliver Jowett
Subject Re: Prepared Statements vs. pgbouncer
Date
Msg-id 46FF4C08.2090608@opencloud.com
Whole thread Raw
In response to Re: Prepared Statements vs. pgbouncer  (Paul Lindner <lindner@inuus.com>)
Responses Re: Prepared Statements vs. pgbouncer
List pgsql-jdbc
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

pgsql-jdbc by date:

Previous
From: Paul Lindner
Date:
Subject: Re: Prepared Statements vs. pgbouncer
Next
From: Josh Berkus
Date:
Subject: Re: Prepared Statements vs. pgbouncer