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

Re: FATAL: catalog is missing 1 attribute(s) for relid 16396

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Marc G(dot) Fournier" <scrappy(at)postgresql(dot)org>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: FATAL: catalog is missing 1 attribute(s) for relid 16396
Date: 2005-01-15 21:20:13
Message-ID: 11807.1105824013@sss.pgh.pa.us (view raw or flat)
Thread:
Lists: pgsql-hackers
"Marc G. Fournier" <scrappy(at)postgresql(dot)org> writes:
> which there are more then 3 attributes ... but, of course, there is 
> nothing for the one I just manually added to pg_class ... should this just 
> be duplicated for 5773277?

No, just do
	update pg_attribute set attrelid = 5773277 where attrelid = 8709051;
and repeat for each toast table you need to fix.

			regards, tom lane

In response to

Responses

pgsql-hackers by date

Next:From: Alvaro HerreraDate: 2005-01-15 21:32:29
Subject: WAL logging of heap_mark4update
Previous:From: Marc G. FournierDate: 2005-01-15 21:15:24
Subject: Re: FATAL: catalog is missing 1 attribute(s) for relid

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