Triggers after insert

From: Fran Fabrizio <ffabrizio(at)mmrd(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Triggers after insert
Date: 2001-10-25 17:14:58
Message-ID: 3BD84892.C25D98CE@mmrd.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general


I seem to be observing that on a trigger I've created to fire
AFTER INSERT, if I intentionally introduce some sort of syntax error to
the trigger for example, and insert a row, the row does not appear in
the table, even though I've declared it to fire after insert. Shouldn't
that row be there regardless of whether the trigger does or does not
fire successfully? Or is this currently not how it works? The docs
seemed to indicate that it would work that way.

The end result is that I need to make sure the insert happens whether or
not the trigger is successful.

Thanks,
Fran

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Barry Lind 2001-10-25 17:15:38 Re: Disable Transaction - plans ?
Previous Message Markus Meyer 2001-10-25 17:02:32 Re: Using PostgreSQL and Access?