how to rollback transactions in a function?

Поиск
Список
Период
Сортировка
От V R
Тема how to rollback transactions in a function?
Дата
Msg-id F112ux5QIgQqJYAegXT000115e2@hotmail.com
обсуждение исходный текст
Список pgsql-novice
Hi,
   I  have written a parent function, which inturn, calls 2-3 child functions  that
eitherinsert or update rows in  tables .The problem I face is when one of these child functions fail to
update or insert and return False.So in this scenario how do I rolback the transactions made by the earlier
childfunctions ? Any feedback regarding this will be helpful. 
 
Thanks
RadhaSend and receive Hotmail on your mobile device: Click Here

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

Предыдущее
От: Chris
Дата:
Сообщение: Re: Errors creating my first database
Следующее
От: "PGMailList"
Дата:
Сообщение: Re: how to rollback transactions in a function?