From: Tom Lane <tgl@sss.pgh.pa.us>
To: Steve Crawford <scrawford@pinpointresearch.com>
Cc: Lukasz Brodziak <lukasz.brodziak@gmail.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: pg_attribute file in PostgreSQL 9.0
Date: Wed, 07 Mar 2012 12:24:25 -0500
Message-ID: <10158.1331141065@sss.pgh.pa.us> (raw)
In-Reply-To: <4F579779.9000001@pinpointresearch.com>
References: <CAGWYGjX4Lcu19BKFgX+ttz7bHypd1j-WbP98S_GGUSGe_VtBew@mail.gmail.com>
<4F577217.3080204@pinpointresearch.com>
<7061.1331132472@sss.pgh.pa.us>
<CAGWYGjUfH038Q6eKDLtfk+5RaXkbVvFmRB3C+LvCsPUpnYW9uw@mail.gmail.com>
<4F579779.9000001@pinpointresearch.com>
Steve Crawford <scrawford@pinpointresearch.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.
regards, tom lane
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 using the --to and --cc options:
reply via email
To: pgsql-admin@postgresql.org
Cc: tgl@sss.pgh.pa.us, scrawford@pinpointresearch.com, lukasz.brodziak@gmail.com
Subject: Re: pg_attribute file in PostgreSQL 9.0
In-Reply-To: <10158.1331141065@sss.pgh.pa.us>
* 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