Re: DROP TRIGGER

From: Stephan Szabo <sszabo(at)megazone(dot)bigpanda(dot)com>
To: Elielson Fontanezi <ElielsonF(at)prodam(dot)sp(dot)gov(dot)br>
Cc: pgsql-general <pgsql-general(at)postgresql(dot)org>
Subject: Re: DROP TRIGGER
Date: 2003-08-01 18:40:52
Message-ID: 20030801113853.H56675-100000@megazone.bigpanda.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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.

In response to

  • DROP TRIGGER at 2003-08-01 18:06:43 from Elielson Fontanezi

Browse pgsql-general by date

  From Date Subject
Next Message Josh Berkus 2003-08-01 18:57:44 Re: [PERFORM] OSDL Database Test Suite 3 is available on PostgreSQL
Previous Message Elielson Fontanezi 2003-08-01 18:09:59 ERROR: stat failed on file '$libdir/plpgsql': No such file or di rectory