Re: C Triggers Cancelling Transactions? - Mailing list pgsql-general

From Stephan Szabo
Subject Re: C Triggers Cancelling Transactions?
Date
Msg-id 20030708160023.E3012-100000@megazone23.bigpanda.com
Whole thread Raw
In response to C Triggers Cancelling Transactions?  ("Clay Luther" <claycle@cisco.com>)
List pgsql-general
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.



pgsql-general by date:

Previous
From: Tom Lane
Date:
Subject: Re: PG crash on simple query, story continues
Next
From: "Maksim Likharev"
Date:
Subject: Re: PG crash on simple query, story continues