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!!
Дата
в 10:06:58
Msg-id
26521.1083848789@sss.pgh.pa.us
Ответ на
Список
Дерево обсуждения
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>
=?iso-8859-1?Q?Gast=F3n_Simone?=  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
Дата:
От: Oliver Fromme
Дата:
FAQ