On Tue, Oct 15, 2013 at 2:38 PM, Quang Thoi <Quang_Thoi@xxxxxxxxxxxx> wrote:
I want to roll back deletion if there is a reference (FK) in another table.
Can I explicitly call a rollback inside a function?
You should RAISE an error. The transaction should roll back due to the error.