pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: brian <brian@misanthropia.com>
Cc: pgsql-admin@postgresql.org <pgsql-admin@postgresql.org>
Subject: Re: vacuum error
Date: Fri, 15 Jun 2001 14:38:56 -0400
Message-ID: <25354.992630336@sss.pgh.pa.us> (raw)
In-Reply-To: <3B2A39B5.5A217325@misanthropia.com>
References: <3B2A39B5.5A217325@misanthropia.com>

brian <brian@misanthropia.com> writes:
> I have a small database with a few tables and a view. When I issue the
> vacuum command, I get:

> ERROR:  cannot read block 5 of pg_description_objoid_index: Input/output
> error

Ugh, sounds like a disk hardware problem :-(.  Better think about new
drives, or at least reformatting the one you have.

As a short-term workaround to be able to dump your DB, I'd suggest just
	DROP INDEX pg_description_objoid_index;
(you'll have to set the magic switch that allows modification of system
tables first).

You could try reindexing pg_description, but since this is a highly
noncritical index, it's probably easier just to get rid of it.

			regards, tom lane



view thread (17+ messages)  latest in thread

Message-ID: <25354.992630336@sss.pgh.pa.us>
Permalink:  ../25354.992630336@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/25354.992630336@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 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: tgl@sss.pgh.pa.us, brian@misanthropia.com
  Subject: Re: vacuum error
  In-Reply-To: <25354.992630336@sss.pgh.pa.us>
  References: <3B2A39B5.5A217325@misanthropia.com> <25354.992630336@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