pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Jim C. Nasby <jnasby@pervasive.com>
To: Bruno Cortes <bcc@mail.pt>
To: pgsql-admin@postgresql.org
Subject: Re: FATAL:  catalog is missing attributes
Date: Mon, 24 Apr 2006 16:46:55 -0500
Message-ID: <20060424214654.GN48010@pervasive.com> (raw)
In-Reply-To: <20060424124326.GB13361@surnet.cl>
References: <444BDF18.5010608@mail.pt>
	<20060424124326.GB13361@surnet.cl>

On Mon, Apr 24, 2006 at 08:43:26AM -0400, Alvaro Herrera wrote:
> Bruno Cortes wrote:
> > Hi,
> > 
> > I was trying to make a dump from a database in postgresql 7.4.2-1. I was 
> > enable to do so because of a cache lookup problem.
> > To solve it, I enter the database as superuser and execute VACUUM ALL. 
> > This was even worse than the previous error. Right now I cannot enter 
> > the database neither make a dump. When I execute a command such as "psql 
> > -U postgres center-01" I get the error:
> > psql: FATAL:  catalog is missing 10 attribute(s) for relid 1262
> 
> Sounds very much like you haven't been doing the required vacuum on all
> system catalogs.  Look for "transaction Xid wraparound" for possible
> suggestions.  For example look at
> 
> http://archives.postgresql.org/pgsql-bugs/2005-05/msg00079.php

Could this also be due to data corruption? From my limited understanding
of the relevant code in backend/utils/cache/relcache.c it seems this
error indicates that there's a mismatch between the number of columns
found in a tuple and what's supposed to be there according to the
catalog tables...
-- 
Jim C. Nasby, Sr. Engineering Consultant      jnasby@pervasive.com
Pervasive Software      http://pervasive.com    work: 512-231-6117
vcard: http://jim.nasby.net/pervasive.vcf       cell: 512-569-9461



view thread (5+ messages)  latest in thread

Message-ID: <20060424214654.GN48010@pervasive.com>
Permalink:  ../20060424214654.GN48010@pervasive.com/
Also on:    postgresql.org/message-id/20060424214654.GN48010@pervasive.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: jnasby@pervasive.com, bcc@mail.pt
  Subject: Re: FATAL:  catalog is missing attributes
  In-Reply-To: <20060424214654.GN48010@pervasive.com>
  References: <444BDF18.5010608@mail.pt> <20060424124326.GB13361@surnet.cl> <20060424214654.GN48010@pervasive.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