Re: cache lookup failed for function 0 - Mailing list pgsql-general

From Tom Lane
Subject Re: cache lookup failed for function 0
Date
Msg-id 1418544.1696026062@sss.pgh.pa.us
Whole thread Raw
In response to cache lookup failed for function 0  (pf@pfortin.com)
Responses Re: cache lookup failed for function 0
List pgsql-general
pf@pfortin.com writes:
> As a test, rather than use INSERT, I recently wrote a python test script
> to import some 8M & 33M record files with COPY instead.  These worked with
> last weekend's data dump.  Next, I wanted to look into importing a subset
> of columns using the below logic; but I'm getting "ERROR: cache lookup
> failed for function 0". Re-running the same full imports that worked
> Saturday, I now get the same error. 

> Could something in the DB cause this "function" error?

"cache lookup failed" certainly smells like a server internal error,
but we'd have heard about it if the trivial case you show could reach
such a problem.  I'm thinking there's things you haven't told us.
What extensions do you have installed?  Maybe an event trigger?

Also, the reference to ENCODING 'ISO-8859-1' makes me wonder what
encoding conversion is being performed.

            regards, tom lane



pgsql-general by date:

Previous
From: Adrian Klaver
Date:
Subject: Re: cache lookup failed for function 0
Next
From: Raivo Rebane
Date:
Subject: Re: Right version of jdbc