Re: cache lookup failed

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: victor <victor(at)work(dot)ro>
Cc: <pgsql-sql(at)postgresql(dot)org>
Subject: Re: cache lookup failed
Date: 2001-09-12 15:00:06
Message-ID: Pine.LNX.4.30.0109121659080.694-100000@peter.localdomain
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

victor writes:

> CREATE FUNCTION add_one (integer) RETURNS integer AS '
> BEGIN
> RETURN $1 + 1;
> END;
> ' LANGUAGE 'plpgsql';
>
> >from postgres doc.
> When I try somethin like this:
>
> SELECT add_one(4);
>
> I get :
>
> ERROR: fmgr_info: function 20086: cache lookup failed

Possibly you have dropped and recreated the plpgsql language handler after
the function was already created. If so, recreate the function.

--
Peter Eisentraut peter_e(at)gmx(dot)net http://funkturm.homeip.net/~peter

In response to

Browse pgsql-sql by date

  From Date Subject
Next Message Peter Schmidt 2001-09-12 15:46:34 plpgsql function case statement
Previous Message victor 2001-09-12 14:05:09 cache lookup failed