Re: ERROR: cache lookup failed for function 125940

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: DrakoRod <drakoflames(at)hotmail(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: ERROR: cache lookup failed for function 125940
Date: 2018-08-19 19:22:28
Message-ID: 30540.1534706548@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

DrakoRod <drakoflames(at)hotmail(dot)com> writes:
> I reindex the pg_proc table and reindex finished correctly but I try read
> the tables or make the dump and same error, reindexed the database and show
> me this error:

> ERROR: cache lookup failed for function 125999

This suggests you've actually lost some entries from pg_proc. Have
you had any system crashes or suchlike?

> Any suggestions, If I run pg_upgrade to 10, will these errors be corrected?

No, pg_upgrade can't magically restore data that's not there.

regards, tom lane

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message DrakoRod 2018-08-19 19:42:55 Re: ERROR: cache lookup failed for function 125940
Previous Message Tom Lane 2018-08-19 19:16:31 Re: Linker errors while creating a PostgreSQL C extension function.