| От | Radosław Smogura |
|---|---|
| Тема | Re: behavior at the end of a transaction |
| Дата | |
| Msg-id | e6183bea6ede88fc21eb7639f83adfc4@mail.softperience.eu обсуждение исходный текст |
| Ответ на | Re: behavior at the end of a transaction ("Kevin Grittner" <Kevin.Grittner@wicourts.gov>) |
| Ответы |
Re: behavior at the end of a transaction
|
| Список | pgsql-jdbc |
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. Regards, Radosław Smogura
В списке pgsql-jdbc по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера