committing inside cursor loop

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема committing inside cursor loop
Дата
Msg-id fc2707cd-8fd5-2f8c-8c25-316778a2ac70@2ndquadrant.com
обсуждение исходный текст
Ответы Re: committing inside cursor loop
Re: committing inside cursor loop
Re: committing inside cursor loop
Список pgsql-hackers
Here is a patch that allows COMMIT inside cursor loops in PL/pgSQL.  As
alluded to in earlier threads, this is done by converting such cursors
to holdable automatically.  A special flag "auto-held" marks such
cursors, so we know to clean them up on exceptions.

This is currently only for PL/pgSQL, but the same technique could be
applied easily to other PLs.

-- 
Peter Eisentraut              http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services

Вложения

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

Предыдущее
От: Magnus Hagander
Дата:
Сообщение: Re: [bug fix] Produce a crash dump before main() on Windows
Следующее
От: Craig Ringer
Дата:
Сообщение: Re: [bug fix] Produce a crash dump before main() on Windows