Re: WITH HOLD and pooled connections

Поиск
Список
Период
Сортировка
От Rod Taylor
Тема Re: WITH HOLD and pooled connections
Дата
Msg-id 1060373367.97914.57.camel@jester
обсуждение исходный текст
Ответ на Re: WITH HOLD and pooled connections  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: WITH HOLD and pooled connections  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
On Fri, 2003-08-08 at 16:00, Tom Lane wrote:
> 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".

Actually, prepared statements in a pooled environment would be very
useful if you could ask what the currently prepared names for that
connection are.

В списке pgsql-hackers по дате отправления:

Предыдущее
От: Larry Rosenman
Дата:
Сообщение: Re: build on unixware 713
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: WITH HOLD and pooled connections