pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
fmgr_info: function 20071: cache lookup failed
5+ messages / 2 participants
[nested] [flat]

* fmgr_info: function 20071: cache lookup failed
@ 2002-02-21 18:42 Jean-Michel POURE <jm.poure@freesurf.fr>
  2002-02-21 20:05 ` Re: [HACKERS] fmgr_info: function 20071: cache lookup failed Stephan Szabo <sszabo@megazone23.bigpanda.com>
  0 siblings, 1 reply; 5+ messages in thread

From: Jean-Michel POURE @ 2002-02-21 18:42 UTC (permalink / raw)
  To: pgsql-hackers@postgresql.org; +Cc: pgsql-admin; pgsql-general@postgresql.org

Dear all,

After migration to PostgreSQL 7.2, modifying a function with CREATE OR 
REPLACE foo, and running the function, backend returns :

fmgr_info: function 20071: cache lookup failed.
Any idea?

Best regards,
Jean-Michel POURE



^ permalink  raw  reply  [nested|flat] 5+ messages in thread

* Re: [HACKERS] fmgr_info: function 20071: cache lookup failed
  2002-02-21 18:42 fmgr_info: function 20071: cache lookup failed Jean-Michel POURE <jm.poure@freesurf.fr>
@ 2002-02-21 20:05 ` Stephan Szabo <sszabo@megazone23.bigpanda.com>
  2002-02-21 20:23   ` Re: [HACKERS] fmgr_info: function 20071: cache lookup failed Jean-Michel POURE <jm.poure@freesurf.fr>
  0 siblings, 1 reply; 5+ messages in thread

From: Stephan Szabo @ 2002-02-21 20:05 UTC (permalink / raw)
  To: Jean-Michel POURE <jm.poure@freesurf.fr>; +Cc: pgsql-hackers@postgresql.org; pgsql-general@postgresql.org



On Thu, 21 Feb 2002, Jean-Michel POURE wrote:

> Dear all,
>
> After migration to PostgreSQL 7.2, modifying a function with CREATE OR
> REPLACE foo, and running the function, backend returns :
>
> fmgr_info: function 20071: cache lookup failed.
> Any idea?

Is 20071 the oid of the function in question? Can you give a standalone
example that gives the error?




^ permalink  raw  reply  [nested|flat] 5+ messages in thread

* Re: [HACKERS] fmgr_info: function 20071: cache lookup failed
  2002-02-21 18:42 fmgr_info: function 20071: cache lookup failed Jean-Michel POURE <jm.poure@freesurf.fr>
  2002-02-21 20:05 ` Re: [HACKERS] fmgr_info: function 20071: cache lookup failed Stephan Szabo <sszabo@megazone23.bigpanda.com>
@ 2002-02-21 20:23   ` Jean-Michel POURE <jm.poure@freesurf.fr>
  2002-02-21 20:54     ` Re: [HACKERS] fmgr_info: function 20071: cache lookup failed Stephan Szabo <sszabo@megazone23.bigpanda.com>
  2002-02-21 21:01     ` Re: [HACKERS] fmgr_info: function 20071: cache lookup failed Jean-Michel POURE <jm.poure@freesurf.fr>
  0 siblings, 2 replies; 5+ messages in thread

From: Jean-Michel POURE @ 2002-02-21 20:23 UTC (permalink / raw)
  To: Stephan Szabo <sszabo@megazone23.bigpanda.com>; +Cc: pgsql-hackers@postgresql.org; pgsql-general@postgresql.org

Dear Stephan ,

> Is 20071 the oid of the function in question?
Yes, as from the error message. It is quite surprising.

> 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.

Cheers,
Jean-Michel



^ permalink  raw  reply  [nested|flat] 5+ messages in thread

* Re: [HACKERS] fmgr_info: function 20071: cache lookup failed
  2002-02-21 18:42 fmgr_info: function 20071: cache lookup failed Jean-Michel POURE <jm.poure@freesurf.fr>
  2002-02-21 20:05 ` Re: [HACKERS] fmgr_info: function 20071: cache lookup failed Stephan Szabo <sszabo@megazone23.bigpanda.com>
  2002-02-21 20:23   ` Re: [HACKERS] fmgr_info: function 20071: cache lookup failed Jean-Michel POURE <jm.poure@freesurf.fr>
@ 2002-02-21 20:54     ` Stephan Szabo <sszabo@megazone23.bigpanda.com>
  1 sibling, 0 replies; 5+ messages in thread

From: Stephan Szabo @ 2002-02-21 20:54 UTC (permalink / raw)
  To: Jean-Michel POURE <jm.poure@freesurf.fr>; +Cc: pgsql-hackers@postgresql.org; pgsql-general@postgresql.org

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?





^ permalink  raw  reply  [nested|flat] 5+ messages in thread

* Re: [HACKERS] fmgr_info: function 20071: cache lookup failed
  2002-02-21 18:42 fmgr_info: function 20071: cache lookup failed Jean-Michel POURE <jm.poure@freesurf.fr>
  2002-02-21 20:05 ` Re: [HACKERS] fmgr_info: function 20071: cache lookup failed Stephan Szabo <sszabo@megazone23.bigpanda.com>
  2002-02-21 20:23   ` Re: [HACKERS] fmgr_info: function 20071: cache lookup failed Jean-Michel POURE <jm.poure@freesurf.fr>
@ 2002-02-21 21:01     ` Jean-Michel POURE <jm.poure@freesurf.fr>
  1 sibling, 0 replies; 5+ messages in thread

From: Jean-Michel POURE @ 2002-02-21 21:01 UTC (permalink / raw)
  To: Stephan Szabo <sszabo@megazone23.bigpanda.com>; +Cc: pgsql-hackers@postgresql.org; pgsql-general@postgresql.org

> 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.

Dear all,

Please disregard my previous message. In pgAdmin2, I dropped the old tables 
and functions pgadmin_*. But going too fast, I also dropped 
plpgsql_call_handler by error. What a fool ...



^ permalink  raw  reply  [nested|flat] 5+ messages in thread


end of thread, other threads:[~2002-02-21 21:01 UTC | newest]

Thread overview: 5+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2002-02-21 18:42 fmgr_info: function 20071: cache lookup failed Jean-Michel POURE <jm.poure@freesurf.fr>
2002-02-21 20:05 ` Stephan Szabo <sszabo@megazone23.bigpanda.com>
2002-02-21 20:23   ` Jean-Michel POURE <jm.poure@freesurf.fr>
2002-02-21 20:54     ` Stephan Szabo <sszabo@megazone23.bigpanda.com>
2002-02-21 21:01     ` Jean-Michel POURE <jm.poure@freesurf.fr>

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