pgsql-bugs(at)postgresql(dot)org 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 "lanplcallfoid" value for
plpgsql; is it 16594? Do you have an entry in pg_proc for
"plpgsql_call_handler", and if so what does it look like?
regards, tom lane