triggered data change violation - Mailing list pgsql-sql

From Cedar Cox
Subject triggered data change violation
Date
Msg-id Pine.LNX.4.21.0103202311430.27234-100000@nanu.visionforisrael.com
Whole thread Raw
Responses Re: [HACKERS] triggered data change violation  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-sql
Added note:  The trigger is a BEFORE trigger.

---------- Forwarded message ----------
To: pgsql-interfaces@postgresql.org
Date: Tue, 20 Mar 2001 20:43:59 +0200 (IST)
Subject: triggered data change violation


ERROR:  triggered data change violation on relation "tblstsc2options"

What is this?  It doesn't happen unless I'm in a transaction.  I'm
INSERTing a record and then DELETEing it (in the same transaction) and on
delete I get this error.  If I commit and begin a new transaction before
the delete everything is fine.  Is it something my trigger causing?  I
don't have any UPDATE, INSERT, or DELETE statements in my trigger (and I
am returning old on delete).

Thanks,
-Cedar



pgsql-sql by date:

Previous
From: Josh Berkus
Date:
Subject: Re: Categories and subcategories : more details
Next
From: Bruce Momjian
Date:
Subject: Re: Re: Use of the LIMIT clause ?