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

From Gregory Stark
Subject Re: Prepared Statements vs. pgbouncer
Date
Msg-id 87sl4xvmn2.fsf@oxford.xeocode.com
Whole thread Raw
In response to Prepared Statements vs. pgbouncer  (Paul Lindner <lindner@inuus.com>)
Responses Re: Prepared Statements vs. pgbouncer
List pgsql-jdbc
"Paul Lindner" <lindner@inuus.com> writes:

>   * pgbouncer notices that client A is idle and reassigns backend to
>     client B

What do you mean by "notices"?

Prepared statements are only one form of state which can persist beyond a
transaction end. I don't think you can reassign connections unless you get
some sort of explicit notice that the client is done with any state it has set
up. Either the driver supports noticing such a state because there are no
active references to its handle or the client issues a statement like RESET
ALL or something equivalent.

--
  Gregory Stark
  EnterpriseDB          http://www.enterprisedb.com

pgsql-jdbc by date:

Previous
From: Oliver Jowett
Date:
Subject: Re: Prepared Statements vs. pgbouncer
Next
From: Josh Berkus
Date:
Subject: Re: Prepared Statements vs. pgbouncer