In response to Wang, Mary Y : > Hi, > > How do I drop a CONSTRAINT TRIGGER? Just with DROP TRIGGER: test=# create table foo(a int); CREATE TABLE test=*# create function foo_proc() returns trigger as $$begin return new; end; $$ language plpgsql; CREATE FUNCTION test=*# create constraint trigger foo_trg after insert on foo for each row execute procedure foo_proc(); CREATE TRIGGER test=*# \d foo Table "public.foo" Column | Type | Modifiers --------+---------+----------- a | integer | Triggers: foo_trg AFTER INSERT ON foo NOT DEFERRABLE INITIALLY IMMEDIATE FOR EACH ROW EXECUTE PROCEDURE foo_proc() test=*# drop trigger foo_trg on foo; DROP TRIGGER test=*# \d foo Table "public.foo" Column | Type | Modifiers --------+---------+----------- a | integer | test=*# Regards, Andreas -- Andreas Kretschmer Kontakt: Heynitz: 035242/47150, D1: 0160/7141639 (mehr: -> Header) GnuPG: 0x31720C99, 1006 CCB4 A326 1D42 6431 2EB0 389D 1DC2 3172 0C99 -- Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general