C Triggers Cancelling Transactions?

Started by Clay Lutheralmost 23 years ago2 messagesgeneral
Jump to latest
#1Clay Luther
claycle@cisco.com

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

---
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/}

#2Stephan Szabo
sszabo@megazone23.bigpanda.com
In reply to: Clay Luther (#1)
Re: C Triggers Cancelling Transactions?

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.