Trigger - will not perform INSERT

From: smiley2211 <smiley2211(at)yahoo(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Trigger - will not perform INSERT
Date: 2007-12-11 20:35:33
Message-ID: 14282848.post@talk.nabble.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general


ex:

CREATE TRIGGER mytrig AFTER INSERT OR UPDATE ON foo1 FOR EACH ROW EXECUTE
PROCEDURE updatefoo1('datarow');

The command itself is able to be executed without error. However, what then
happens, is that whenever the application attempts to insert a record into
foo1, it simply doesn't insert. Once I take the trigger off, it beings
inserting again.

I have checked permissions but INSERT only FAILS while trigger is enabled..

Thanks...Michelle
--
View this message in context: http://www.nabble.com/Trigger---will-not-perform-INSERT-tp14282848p14282848.html
Sent from the PostgreSQL - general mailing list archive at Nabble.com.

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Geoffrey 2007-12-11 20:41:42 Re: Hijack!
Previous Message Tom Lane 2007-12-11 20:26:27 Re: POSIX and libpq