Re: WITH HOLD and pooled connections - Mailing list pgsql-hackers

From Tom Lane
Subject Re: WITH HOLD and pooled connections
Date
Msg-id 29495.1060372822@sss.pgh.pa.us
Whole thread Raw
In response to WITH HOLD and pooled connections  (Bruce Momjian <pgman@candle.pha.pa.us>)
Responses Re: WITH HOLD and pooled connections
Re: WITH HOLD and pooled connections
Re: WITH HOLD and pooled connections
Re: WITH HOLD and pooled connections
List pgsql-hackers
Bruce Momjian <pgman@candle.pha.pa.us> writes:
> Seems we have a problem with pooled connections and WITH HOLD cursors.
> We have code to reset transaction state and variables via RESET ALL, but
> how do we remove WITH HOLD cursors when we pass a connection to a new
> client?

Prepared statements would be just as much of a problem.  I think the
correct answer is simply "don't use those features in a pooled
environment".
        regards, tom lane


pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: LOCK.tag(figuring out granularity of lock)
Next
From: Tom Lane
Date:
Subject: Re: build on unixware 713