pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Simpson <asimpson@i-55.com>
To: pgsql-admin@postgresql.org
Subject: Corrupt DB
Date: Sun, 17 Apr 2005 12:27:35 -0500
Message-ID: <NFBBKOADOLGDLPMAAHMDGEDLDCAA.asimpson@i-55.com> (raw)

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.





view thread (2+ messages)  latest in thread

Message-ID: <NFBBKOADOLGDLPMAAHMDGEDLDCAA.asimpson@i-55.com>
Permalink:  ../NFBBKOADOLGDLPMAAHMDGEDLDCAA.asimpson@i-55.com/
Also on:    postgresql.org/message-id/NFBBKOADOLGDLPMAAHMDGEDLDCAA.asimpson@i-55.com

 · 

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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: asimpson@i-55.com
  Subject: Re: Corrupt DB
  In-Reply-To: <NFBBKOADOLGDLPMAAHMDGEDLDCAA.asimpson@i-55.com>
  References: <NFBBKOADOLGDLPMAAHMDGEDLDCAA.asimpson@i-55.com>

* 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