On Mon, Jan 28, 2013 at 10:24 AM, Graham Little <graham.little@aspone.co.uk> wrote: > > Hi, > > > > I have tried other sources but to no avail. Could someone please tell me which tables in pg_catalog
> are effected by creating or dropping a trigger. If there is a work flow diagram or source code location
> you want to point me to rather than listing them that will be fine also.
I don't know if its completely right, but when a trigger is created the following catalog are affecteds: - pg_trigger (new entry) - pg_depend (new entry) - pg_class (update relhastriggers column)
> Some plonker deleted some rows directly in the pg_triggers table …. I need to fix it.
Maybe you simply DROP and CREATE trigger solve it...