Re: behavior at the end of a transaction

Поиск
Список
Период
Сортировка
От Jean-Max Reymond
Тема Re: behavior at the end of a transaction
Дата
Msg-id j5cge8$2pe7$1@news.hub.org
обсуждение исходный текст
Ответ на Re: behavior at the end of a transaction  (Radosław Smogura <rsmogura@softperience.eu>)
Ответы Re: behavior at the end of a transaction  (Radosław Smogura <rsmogura@softperience.eu>)
Список pgsql-jdbc
Le 20/09/2011 11:36, Radosław Smogura a écrit :
> On Mon, 19 Sep 2011 15:34:19 -0500, Kevin Grittner wrote:
>> Jean-Max Reymond <jmreymond@gmail.com> wrote:
>>
>>> On commit or rollback statement, I expect that all the cursors
>>> are closed (all my Resultset not closed) in the postgres database.
>>> is it correct ?
>>
>> No.
>>
>> http://www.postgresql.org/docs/9.1/interactive/sql-declare.html
>>
>> In particular, see the WITH/WITHOUT HOLD section.
>>
>> -Kevin
>
> Don't worry, If you "forget" result sets, when those will be GCed then
> cursors will be closed soon, too.

no sure that GC will free the ressources in the postgres database


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

Предыдущее
От: Dave Cramer
Дата:
Сообщение: Re: binary patch problems
Следующее
От: Radosław Smogura
Дата:
Сообщение: Re: behavior at the end of a transaction