Corrupt DB

From: "Simpson" <asimpson(at)i-55(dot)com>
To: <pgsql-admin(at)postgresql(dot)org>
Subject: Corrupt DB
Date: 2005-04-17 17:27:35
Message-ID: NFBBKOADOLGDLPMAAHMDGEDLDCAA.asimpson@i-55.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Greetings,

I am running Postgresql 8.0 on "Linux xxx 2.4.18-14 #1 Wed Sep 4 12:13:11
EDT 2002 i686 athlon i386 GNU/Linux" and while loading data my program
received:

DBD::Pg::db do failed: server closed the connection unexpectedly ...

Now I can't access any data in the DB, not even the \d command:

mydb=# \d
ERROR: could not identify an ordering operator for type name
HINT: Use an explicit ordering operator or modify the query.

I tried vacuum:

mydb=# vacuum;
ERROR: could not open relation 1663/12649295/16396: No such file or
directory

What would be the best way to fix this?

How would I determine what caused the corruption and prevent it from
happening again?

Thanks for any assistance,
Drew.

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Ian Westmacott 2005-04-18 01:12:07 Re: database corruption
Previous Message sanjay tumula 2005-04-17 05:54:05 performance problem