Обсуждение: C Triggers Cancelling Transactions?

Поиск
Список
Период
Сортировка

C Triggers Cancelling Transactions?

От
"Clay Luther"
Дата:
My initial impression is that AFTER triggers written in C cannot abort the wrapping transaction if an error occurs.  Is
thiscorrect? 

---
Clay
Cisco Systems, Inc.
claycle@cisco.com
(972) 813-5004


I've stopped 15,797 spam messages. You can too!
One month FREE spam protection at http://www.cloudmark.com/spamnetsig/}

Re: C Triggers Cancelling Transactions?

От
Stephan Szabo
Дата:
On Tue, 8 Jul 2003, Clay Luther wrote:

> My initial impression is that AFTER triggers written in C cannot abort
> the wrapping transaction if an error occurs.  Is this correct?

After triggers can still raise an exception condition to abort the
transaction with elog. They can't quietly change or ignore the action
like before triggers do however.