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

Поиск
Список
Период
Сортировка
От Marc G. Fournier
Тема Re: FATAL: catalog is missing 1 attribute(s) for relid
Дата
Msg-id 20050114015135.S45642@ganymede.hub.org
обсуждение исходный текст
Ответ на Re: FATAL: catalog is missing 1 attribute(s) for relid 16396  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
On Thu, 13 Jan 2005, Tom Lane wrote:

> "Marc G. Fournier" <scrappy@postgresql.org> writes:
>> What the client did was a 'delete from pg_attribute where ... ' ...
>
> [ blink... ]  Well, that sort of thing is definitely a candidate for the
> Darwin Award, but what exactly was the WHERE clause?

We were working on removing a 'botched' erserver install, to put slony 
into place, and he didn't realize the ramifications of modifying system 
files directly :(

>> I'm still searching the 'net to see if there is somethign that I've
>> overlooked ... but everything so far is drawing a deadend ... can someone
>> suggest a web page I should read, a tool I could use, or something, to get
>> the data out of this, that I'm not finding?  Or some way of 'fixing' relid
>> 16396? :)
>
> [ select 16396::regclass... ] pg_am?  You may be in luck, because that
> is the one solitary system catalog that no one ever changes.  If that's
> all that got hit you might have a chance.  What I'm wondering is just
> exactly what the extent of the damage was.

'k, I can try that in the morning and see ...

----
Marc G. Fournier           Hub.Org Networking Services (http://www.hub.org)
Email: scrappy@hub.org           Yahoo!: yscrappy              ICQ: 7615664


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Mark Kirkwood
Дата:
Сообщение: Re: FATAL: catalog is missing 1 attribute(s) for relid
Следующее
От: Pavel Stehule
Дата:
Сообщение: Re: Slow PL/pgSQL 8.0.RC5 (7.4.6. 3times faster)