"Graham Vickrage" <graham@digitalplanit.com> writes:
> I am trying to set up a trigger on a table that deletes the foreign key
> references in the child table,
> delete from website where website_id = '$website_id';
> which works fine when there is no trigger on the table but once the trigger
> is created I get the following error -
> fmgr_info: function 47172: cache lookup failed
This sounds like it could be a bug in Postgres, but you'll need to give
more details. The full definitions of both tables and the trigger
function would help. Also, what version are you using?
regards, tom lane