Re: pg_dump fails with the following error: "ERROR: cache lookup failed for index 1531353157" - Mailing list pgsql-admin

From Tom Lane
Subject Re: pg_dump fails with the following error: "ERROR: cache lookup failed for index 1531353157"
Date
Msg-id 9735.1285104605@sss.pgh.pa.us
Whole thread Raw
In response to pg_dump fails with the following error: "ERROR: cache lookup failed for index 1531353157"  ("Benjamin Arai, Ph.D." <benjamin@araisoft.com>)
List pgsql-admin
"Benjamin Arai, Ph.D." <benjamin@araisoft.com> writes:
> The server is still running but pg_dumps output the following error. What
> should I do?

Try reindexing pg_index in whichever database is giving trouble.

Depending on what PG version you are using (which is something that
should ALWAYS be mentioned in any kind of trouble report), you might
need to stop the server so you can do this in a standalone backend.
Read the relevant version of the REINDEX reference page for more info.

            regards, tom lane

pgsql-admin by date:

Previous
From: "Benjamin Arai, Ph.D."
Date:
Subject: Re: pg_dump fails with the following error: "ERROR: cache lookup failed for index 1531353157"
Next
From: "Joshua D. Drake"
Date:
Subject: Re: pg_dump fails with the following error: "ERROR: cachelookup failed for index 1531353157"