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

Re: pg_attribute file in PostgreSQL 9.0

From: "Kevin Grittner" <Kevin(dot)Grittner(at)wicourts(dot)gov>
To: "Lukasz Brodziak" <lukasz(dot)brodziak(at)gmail(dot)com>
Cc: "Steve Crawford" <scrawford(at)pinpointresearch(dot)com>, <pgsql-admin(at)postgresql(dot)org>,"Tom Lane" <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Subject: Re: pg_attribute file in PostgreSQL 9.0
Date: 2012-03-07 17:57:59
Message-ID: 4F574D470200002500045FAB@gw.wicourts.gov (view raw or flat)
Thread:
Lists: pgsql-admin
Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
> Steve Crawford <scrawford(at)pinpointresearch(dot)com> writes:
>> On 03/07/2012 09:03 AM, Lukasz Brodziak wrote:
>>> Thanks a lot I have found file I needed let's hope I will be
>>> able to fix the problem now as I cannot connect to the database
>>> because I get 'catalog is missing 1 attribute for relation 2662'
>>> which I hope to be able to repair by getting the pg_attribute
>>> file from another db.
> 
>> STOP! Don't touch anything just yet. Now we know the real reason
>> for the question.
> 
> ... yeah, and this is the wrong answer.  It's *exceedingly*
> unlikely that plopping in the pg_attribute file from a different
> database will accomplish anything except to make matters far
> worse.  Even if the other DB has exactly the same tables and
> exactly the same columns in those tables, it likely doesn't have
> the same OID assignments.
 
http://wiki.postgresql.org/wiki/Corruption
 
-Kevin

In response to

pgsql-admin by date

Next:From: Ray StellDate: 2012-03-07 18:26:11
Subject: Re: table names seem identical
Previous:From: Lukasz BrodziakDate: 2012-03-07 17:49:12
Subject: Re: pg_attribute file in PostgreSQL 9.0

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