how to rollback transactions in a function? - Mailing list pgsql-novice

From V R
Subject how to rollback transactions in a function?
Date
Msg-id F112ux5QIgQqJYAegXT000115e2@hotmail.com
Whole thread Raw
List 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 by date:

Previous
From: Chris
Date:
Subject: Re: Errors creating my first database
Next
From: "PGMailList"
Date:
Subject: Re: how to rollback transactions in a function?