Re: could not open relation - Mailing list pgsql-general

From Octavio Alvarez Piza
Subject Re: could not open relation
Date
Msg-id 2624.63.84.67.25.1085250734.squirrel@alvarezp.ods.org
Whole thread Raw
In response to could not open relation "pg_trigger_tgrelid_tgname_index"  (Octavio Alvarez Piza <alvarezp@alvarezp.ods.org>)
List pgsql-general
Hi, everybody!

I already solved it. Thank you.

First of, I forgot to mention the version(), so FYI, 7.4.1.

I followed Tom's advice in
http://archives.postgresql.org/pgsql-general/2004-03/msg01073.php

I shut down the PG instance.
postgres -D $PG_DATA -O -P $DBNAME
=# REINDEX DATABASE tbc_gamma
<EOF>

-P was necessary for the standalone backend to ignore the (damaged) indexes.

Done.

Hope this helps someone else someday.

pgsql-general by date:

Previous
From: Lincoln Yeoh
Date:
Subject: Re: Am I locking more than I need to?
Next
From: David Garamond
Date:
Subject: how many record versions