Re: C Triggers Cancelling Transactions?

From: Stephan Szabo <sszabo(at)megazone23(dot)bigpanda(dot)com>
To: Clay Luther <claycle(at)cisco(dot)com>
Cc: "Pgsql-General (E-mail)" <pgsql-general(at)postgresql(dot)org>
Subject: Re: C Triggers Cancelling Transactions?
Date: 2003-07-08 23:02:05
Message-ID: 20030708160023.E3012-100000@megazone23.bigpanda.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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.

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Maksim Likharev 2003-07-08 23:03:11 Re: PG crash on simple query, story continues
Previous Message Tom Lane 2003-07-08 22:58:24 Re: PG crash on simple query, story continues