On 2012-10-19, Victor Sterpu <vic...@caido.ro> wrote:
> I have this trigger that works fine. The trigger prevents the deletion 
> of the last record.
> But I want skip this trigger execution when the delete is done from a 
> external key.
> How can I do this?

perhaps you have to use a rule instead of a trigger?

-- 
⚂⚃ 100% natural



-- 
Sent via pgsql-sql mailing list (pgsql-sql@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-sql

Reply via email to