pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Benjamin Arai, Ph.D. <benjamin@araisoft.com>
Cc: pgsql-admin <pgsql-admin@postgresql.org>
Subject: Re: pg_dump fails with the following error: "ERROR: cache lookup failed for index 1531353157"
Date: Tue, 21 Sep 2010 17:30:05 -0400
Message-ID: <9735.1285104605@sss.pgh.pa.us> (raw)
In-Reply-To: <AANLkTi=dR5V2Yx8T7w40yqTYcqv8Qg1iiJ6z2VpQ0xmU@mail.gmail.com>
References: <AANLkTi=dR5V2Yx8T7w40yqTYcqv8Qg1iiJ6z2VpQ0xmU@mail.gmail.com>

"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



view thread (4+ messages)

Message-ID: <9735.1285104605@sss.pgh.pa.us>
Permalink:  ../9735.1285104605@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/9735.1285104605@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-admin@postgresql.org
  Cc: tgl@sss.pgh.pa.us, benjamin@araisoft.com
  Subject: Re: pg_dump fails with the following error: "ERROR: cache lookup failed for index 1531353157"
  In-Reply-To: <9735.1285104605@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox