Re: WITH HOLD and pooled connections

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: WITH HOLD and pooled connections
Дата
Msg-id 29495.1060372822@sss.pgh.pa.us
обсуждение исходный текст
Ответ на WITH HOLD and pooled connections  (Bruce Momjian <pgman@candle.pha.pa.us>)
Ответы Re: WITH HOLD and pooled connections  (Rod Taylor <rbt@rbt.ca>)
Re: WITH HOLD and pooled connections  (Bruce Momjian <pgman@candle.pha.pa.us>)
Re: WITH HOLD and pooled connections  (Andrew Dunstan <andrew@dunslane.net>)
Re: WITH HOLD and pooled connections  (Neil Conway <neilc@samurai.com>)
Список 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 по дате отправления:

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: LOCK.tag(figuring out granularity of lock)
Следующее
От: Tom Lane
Дата:
Сообщение: Re: build on unixware 713