Received: from megazone.bigpanda.com (megazone.bigpanda.com [63.150.15.178]) by postgresql.org (Postfix) with ESMTP id 6132E475B2F; Thu, 21 Feb 2002 15:54:49 -0500 (EST) Received: by megazone.bigpanda.com (Postfix, from userid 1001) id 6A3A0D5F9; Thu, 21 Feb 2002 12:54:50 -0800 (PST) Received: from localhost (localhost [127.0.0.1]) by megazone.bigpanda.com (Postfix) with ESMTP id 5FBF45BF9; Thu, 21 Feb 2002 12:54:50 -0800 (PST) Date: Thu, 21 Feb 2002 12:54:50 -0800 (PST) From: Stephan Szabo To: Jean-Michel POURE Cc: , Subject: Re: [HACKERS] fmgr_info: function 20071: cache lookup failed In-Reply-To: <200202212023.g1LKNdFP005038@www1.translationforge> Message-ID: <20020221125337.H22089-100000@megazone23.bigpanda.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Archive-Number: 200202/962 X-Sequence-Number: 20963 On Thu, 21 Feb 2002, Jean-Michel POURE wrote: > Dear Stephan , > > > Is 20071 the oid of the function in question? > Yes, as from the error message. It is quite surprising. Wanted to be sure it wasn't some other function that might be being referenced therein. > > Can you give a standalone example that gives the error? > After updating a PLpgSQL function of a trigger on table foo with CREATE OR > REPLACE using latest version of pgAdmin2. > > If I run "UPDATE TABLE foo SET foo_timestamp = 'now' WHERE .... sql clause" > will return an error. It seems to be a migration problem. Hmm, I just did a simple test of a before insert/update trigger and updating with create or replace from psql and didn't have a problem. Can you give the tables/functions involved?