Re: Transactions within a function body

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Transactions within a function body
Дата
Msg-id 1510.1222961293@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Transactions within a function body  (Alvaro Herrera <alvherre@commandprompt.com>)
Список pgsql-general
Alvaro Herrera <alvherre@commandprompt.com> writes:
> Reg Me Please escribi�:
>> You mean I can issue a ROLLBACK command within a BEGIN...END; block to roll it
>> back?

> No -- I mean you can use BEGIN/EXCEPTION/END blocks as you like, nesting
> them or putting one after another.  Complementing this with RAISE
> EXCEPTION you can cause savepoints to roll back at will.

Yeah, it's essentially the same functionality as savepoints, but
different syntax.

            regards, tom lane

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

Предыдущее
От: Reg Me Please
Дата:
Сообщение: Re: Transactions within a function body
Следующее
От: "Bob Henkel"
Дата:
Сообщение: Re: Transactions within a function body