Re: Hey Mr. PG! End my transaction, BUT KEEP MY CURSORS OPEN!!
В списке pgsql-novice по дате отправления:
| От | Oliver Fromme |
|---|---|
| Тема | Re: Hey Mr. PG! End my transaction, BUT KEEP MY CURSORS OPEN!! |
| Дата | |
| Msg-id | 200405061322.i46DMMeF008128@lurza.secnetix.de обсуждение |
| Ответ на | Re: Hey Mr. PG! End my transaction, BUT KEEP MY CURSORS OPEN!! (Tom Lane <tgl@sss.pgh.pa.us>) |
| Список | pgsql-novice |
Tom Lane wrote:
> Gastón Simone wrote:
> > I thought the COMMIT SQL command closes every opened cursor when it's
> > executed!!
>
> It does. But see the WITH HOLD option of DECLARE CURSOR.
Oops ... Please disregard my previous mail.
I was obviously confusing SQL CURSORs and the cursor objects
used in the API of some programming languages (like Python).
Those are really somewhat different thigns.
Regards
Oliver
--
Oliver Fromme, secnetix GmbH & Co KG, Oettingenstr. 2, 80538 München
Any opinions expressed in this message may be personal to the author
and may not necessarily reflect the opinions of secnetix in any way.
"Documentation is like sex; when it's good, it's very, very good,
and when it's bad, it's better than nothing."
-- Dick Brandon
В списке pgsql-novice по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера