Re: DROP TRIGGER - Mailing list pgsql-general

From Stephan Szabo
Subject Re: DROP TRIGGER
Date
Msg-id 20030801113853.H56675-100000@megazone.bigpanda.com
Whole thread Raw
In response to DROP TRIGGER  (Elielson Fontanezi <ElielsonF@prodam.sp.gov.br>)
List pgsql-general
On Fri, 1 Aug 2003, Elielson Fontanezi wrote:

> Hi all!
>
>     I am sorry, but is there a way to drop a trigger like this one?
>
> CREATE CONSTRAINT TRIGGER fk_participante_evento_1
>     AFTER INSERT OR UPDATE ON participante_evento
>     FROM servidor
>     NOT DEFERRABLE INITIALLY IMMEDIATE
>     FOR EACH ROW
>     EXECUTE PROCEDURE "RI_FKey_check_ins" ('fk_participante_evento_1',
> 'participant
> e_evento', 'servidor', 'UNSPECIFIED', 'cd_reg_funcional',
> 'cd_reg_funcional');

DROP TRIGGER "fk_participante_evento_1" on servidor;
should work I think.  Was that manually created or as
part of a foreign key?  If the latter, dropping just one
of the triggers is probably unsafe.



pgsql-general by date:

Previous
From: Elielson Fontanezi
Date:
Subject: DROP TRIGGER
Next
From: Josh Berkus
Date:
Subject: Re: [PERFORM] OSDL Database Test Suite 3 is available on PostgreSQL