Skip site navigation (1) Skip section navigation (2)

Re: vaccum db fail

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Matthew Terenzio <webmaster(at)localnotion(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: vaccum db fail
Date: 2004-12-31 04:17:57
Message-ID: 1572.1104466677@sss.pgh.pa.us (view raw or flat)
Thread:
Lists: pgsql-general
Matthew Terenzio <webmaster(at)localnotion(dot)com> writes:
> Trying vacuumdb eventuallydisplays this:
> ERROR:  catalog is missing 3 attribute(s) for relid 31457
> vacuumdb: vacuum  databasename failed

> There is another thread which states this is a corrupted systems 
> catalog. Is this definitely the case? Does it mean I need to re-build 
> the database? Re-install?

You've definitely got some problems in the pg_attribute catalog.
If you are lucky, reindexing pg_attribute will get you out of this.
Otherwise it's time to initdb and reload (or at least drop that one
database, recreate it, reload it).  I wouldn't trust half measures such
as dropping the one known-corrupt table, because the odds are that more
rows in pg_attribute got hit than just the ones reported in the first
failure.

			regards, tom lane

In response to

pgsql-general by date

Next:From: Robby RussellDate: 2004-12-31 04:18:50
Subject: Re: Postgresql website issues.
Previous:From: Tom LaneDate: 2004-12-31 04:14:20
Subject: Re: ISO_8859_8 encoding

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group