Re: Hey Mr. PG! End my transaction, BUT KEEP MY CURSORS OPEN!!

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Hey Mr. PG! End my transaction, BUT KEEP MY CURSORS OPEN!!
Дата
Msg-id 26521.1083848789@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Hey Mr. PG! End my transaction, BUT KEEP MY CURSORS OPEN!!  (Gastón Simone <gaston@apraful.com.uy>)
Ответы Re: Hey Mr. PG! End my transaction, BUT KEEP MY CURSORS OPEN!!  (Oliver Fromme <olli@lurza.secnetix.de>)
Список pgsql-novice
=?iso-8859-1?Q?Gast=F3n_Simone?= <gaston@apraful.com.uy> writes:
> 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.

Note using this option is NOT free.

            regards, tom lane

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

Предыдущее
От: Gastón Simone
Дата:
Сообщение: Re: Hey Mr. PG! End my transaction, BUT KEEP MY CURSORS OPEN!!
Следующее
От: Oliver Fromme
Дата:
Сообщение: Re: Hey Mr. PG! End my transaction, BUT KEEP MY CURSORS OPEN!!