Re: PL/pgSQL: EXCEPTION NOSAVEPOINT

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: PL/pgSQL: EXCEPTION NOSAVEPOINT
Дата
Msg-id 3738.1123100730@sss.pgh.pa.us
обсуждение исходный текст
Ответ на PL/pgSQL: EXCEPTION NOSAVEPOINT  (Matt Miller <mattm@epx.com>)
Ответы Re: PL/pgSQL: EXCEPTION NOSAVEPOINT  (Matt Miller <mattm@epx.com>)
Список pgsql-patches
Matt Miller <mattm@epx.com> writes:
> The idea is to allow a PL/pgSQL exception to not automatically rollback
> the work done by the current block.

This fundamentally breaks the entire backend.  You do not have the
option to continue processing after elog(ERROR); the (sub)transaction
rollback is necessary to clean up inconsistent state.

            regards, tom lane

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

Предыдущее
От: Matt Miller
Дата:
Сообщение: PL/pgSQL: EXCEPTION NOSAVEPOINT
Следующее
От: Matt Miller
Дата:
Сообщение: Re: PL/pgSQL: EXCEPTION NOSAVEPOINT