From: | Alvaro Herrera <alvherre(at)commandprompt(dot)com> |
---|---|
To: | Andrus Moor <kobruleht2(at)hot(dot)ee> |
Cc: | pgsql-general(at)postgresql(dot)org |
Subject: | Re: index "pg_authid_rolname_index" is not a btree |
Date: | 2009-08-18 21:38:19 |
Message-ID: | 20090818213819.GA4885@alvh.no-ip.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
Andrus Moor wrote:
> Hard disk containing PostgreSql 8.1 database on Windows crashes and
> there was no new
> backup copy.
>
> I installed 8.1.9 to new computer and copied data directory from
> crashed disk to it.
> data directory contains a lot of files with a lot of data.
>
> Trying to connect to template0 or any other database in this cluster causes
> error
>
> Error connecting to the server: FATAL: index "pg_authid_rolname_index" is
> not a btree
You can get around that particular problem by reindexing the pg_authid
table. But my guess is that you'll find that there's corruption
elsewhere that's not so easily recoverable ...
--
Alvaro Herrera http://www.CommandPrompt.com/
PostgreSQL Replication, Consulting, Custom Development, 24x7 support
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2009-08-18 21:39:39 | Re: Any justification for sequence table vs. native sequences? |
Previous Message | Tom Lane | 2009-08-18 21:34:28 | Re: PL/PGSQL: why IF test the whole condition before failing or not? |