Re: pg_dump fails with the following error: "ERROR: cache lookup failed for index 1531353157"

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Benjamin Arai, Ph(dot)D(dot)" <benjamin(at)araisoft(dot)com>
Cc: pgsql-admin <pgsql-admin(at)postgresql(dot)org>
Subject: Re: pg_dump fails with the following error: "ERROR: cache lookup failed for index 1531353157"
Date: 2010-09-21 21:30:05
Message-ID: 9735.1285104605@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

"Benjamin Arai, Ph.D." <benjamin(at)araisoft(dot)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

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Joe Carr 2010-09-22 16:37:02 FATAL: the database system is starting up
Previous Message Benjamin Arai, Ph.D. 2010-09-21 21:06:48 Re: pg_dump fails with the following error: "ERROR: cache lookup failed for index 1531353157"