Re: transactions in functions, possible bug or what I'm doing

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: transactions in functions, possible bug or what I'm doing
Дата
Msg-id 29318.1100884130@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: transactions in functions, possible bug or what I'm doing  (Michael Fuhr <mike@fuhr.org>)
Список pgsql-sql
Michael Fuhr <mike@fuhr.org> writes:
> On Fri, Nov 19, 2004 at 12:59:07PM +0000, Richard Huxton wrote:
>> You can have what are called "savepoints" in version 8.0 though, which 
>> lets you trap errors and rollback to a named (saved) point in your function.

> Savepoints in functions don't work as of 8.0.0beta4, unless I'm
> doing something wrong:

You can't use explicit savepoint commands, but the exception syntax does
essentially the same thing implicitly.
        regards, tom lane


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

Предыдущее
От: Michael Fuhr
Дата:
Сообщение: Re: transactions in functions, possible bug or what I'm doing
Следующее
От: Don Drake
Дата:
Сообщение: NULLS and string concatenation