We are receiving the following error when trying to access pg_proc table:
[local] cnemelka=# \d pg_proc;
ERROR: XX000: cache lookup failed for attribute 1 of relation 1255
LOCATION: get_relid_attribute_name, lsyscache.c:807
This error is preventing backups with pg_dump. It doesn't seem to be affecting the database overall. We ran VACUUM FULL and REINDEX on the catalog tables but the error persists.
Postgres version is 9.5.7 running on Ubuntu 12.04
Can anyone help?
--cnemelka