From: Peter Eisentraut <peter_e@gmx.net>
To: victor <victor@work.ro>
Cc: pgsql-sql@postgresql.org
Subject: Re: cache lookup failed
Date: Wed, 12 Sep 2001 17:00:06 +0200 (CEST)
Message-ID: <Pine.LNX.4.30.0109121659080.694-100000@peter.localdomain> (raw)
In-Reply-To: <200109121405.f8CE5e786735@postgresql.org>
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@gmx.net http://funkturm.homeip.net/~peter
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-sql@postgresql.org
Cc: peter_e@gmx.net, victor@work.ro
Subject: Re: cache lookup failed
In-Reply-To: <Pine.LNX.4.30.0109121659080.694-100000@peter.localdomain>
References: <200109121405.f8CE5e786735@postgresql.org> <Pine.LNX.4.30.0109121659080.694-100000@peter.localdomain>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox