Re: [BUGS] Bug #608: cache lookup failed

2002-03-13 Thread Laurent FAILLIE
> > update pg_language set lanplcallfoid=374578 where > > lanname='plpgsql'; > > > Is it correct ? > > Right. Ok, it's working fine now. Thanks you very very much. Bye Laurent = The misspelling master is on the Web. _100 % Dictionnary Free ! //( / Dico / /

Re: [BUGS] Bug #608: cache lookup failed

2002-03-13 Thread Laurent FAILLIE
--- Tom Lane <[EMAIL PROTECTED]> a écrit : > Well, that looks reasonable, but what's its OID? > (should've asked for > select oid,* from ...) scheduling=# select oid, * from pg_proc where proname='plpgsql_call_handler'; oid | proname| proowner | prolang | proisinh | proistrus

Re: [BUGS] Bug #608: cache lookup failed

2002-03-13 Thread Laurent FAILLIE
Hi all, Oups, I forgot to put the ML in copy of my reply :-( [...] > > ERROR: fmgr_info: function 16594: cache lookup > failed > Most likely this means something happened to the > call handler function > for plpgsql. Look in pg_language to see the > "lanplcallfoid" value for > plpgsql; is i

Re: [BUGS] Bug #608: cache lookup failed

2002-03-11 Thread Yury Bokhoncovich
Hello! On Thu, 7 Mar 2002, Tom Lane wrote: [skip] > The easiest way to get back to a working database is to UPDATE the > pg_language row with the correct OID of the call handler function. > I'd be interested to know how you got into this state, though. pg_dumpall|psql -p5454 ?8) typical mistake

Re: [BUGS] Bug #608: cache lookup failed

2002-03-08 Thread Juliano Ignacio
I don't know about details, but in the 7.2 PostgreSQL documentation, at Schema Manipulation topic, says: New CREATE OR REPLACE FUNCTIONS to alter existing function (preserving the OID) (by Gavin Sherry) I think that you need to use this new resource. Juliano S. Ignacio [EMAIL PROTECTED] ---

Re: [BUGS] Bug #608: cache lookup failed

2002-03-07 Thread Tom Lane
=?iso-8859-1?q?Laurent=20FAILLIE?= <[EMAIL PROTECTED]> writes: >> The easiest way to get back to a working database is >> to UPDATE the >> pg_language row with the correct OID of the call >> handler function. > Hum, so I may try > update pg_language set lanplcallfoid=374578 where > lanname='plpg

Re: [BUGS] Bug #608: cache lookup failed

2002-03-07 Thread Tom Lane
=?iso-8859-1?q?Laurent=20FAILLIE?= <[EMAIL PROTECTED]> writes: > scheduling=# select * from pg_proc where > proname='plpgsql_call_handler'; >proname| proowner | prolang | proisinh > | proistrusted | proiscachable | proisstrict | > pronargs | proretset | prorettype | proargtypes |

Re: [BUGS] Bug #608: cache lookup failed

2002-03-06 Thread Tom Lane
[EMAIL PROTECTED] writes: > All is working Ok but a call to an PL/SQL function which fails w/ the following code. > ERROR: fmgr_info: function 16594: cache lookup failed Most likely this means something happened to the call handler function for plpgsql. Look in pg_language to see the "lanplcal

[BUGS] Bug #608: cache lookup failed

2002-03-06 Thread pgsql-bugs
Laurent Faillie ([EMAIL PROTECTED]) reports a bug with a severity of 2 The lower the number the more severe it is. Short Description cache lookup failed Long Description Hi all, I have just upgraded my 1.7.3 database to 7.2, following documentation's instruction (pg_dumpall + psql < dumpfile).