Received: from sss2.sss.pgh.pa.us (sss.pgh.pa.us [209.114.166.2]) by hub.org (8.9.3/8.9.3) with ESMTP id RAA15040 for ; Thu, 24 Feb 2000 17:14:18 -0500 (EST) (envelope-from tgl@sss.pgh.pa.us) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss2.sss.pgh.pa.us (8.9.3/8.9.3) with ESMTP id RAA23092; Thu, 24 Feb 2000 17:14:03 -0500 (EST) To: "Graham Vickrage" cc: pgsql-sql@postgreSQL.org Subject: Re: [SQL] cache lookup failed In-reply-to: References: Comments: In-reply-to "Graham Vickrage" message dated "Thu, 24 Feb 2000 17:08:50 +0000" Date: Thu, 24 Feb 2000 17:14:03 -0500 Message-ID: <23089.951430443@sss.pgh.pa.us> From: Tom Lane "Graham Vickrage" 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