Re: pg_attribute file in PostgreSQL 9.0

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: pg_attribute file in PostgreSQL 9.0
Дата
Msg-id 10158.1331141065@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: pg_attribute file in PostgreSQL 9.0  (Steve Crawford <scrawford@pinpointresearch.com>)
Ответы Re: pg_attribute file in PostgreSQL 9.0  (Lukasz Brodziak <lukasz.brodziak@gmail.com>)
Re: pg_attribute file in PostgreSQL 9.0  ("Kevin Grittner" <Kevin.Grittner@wicourts.gov>)
Список pgsql-admin
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

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

Предыдущее
От: Steve Crawford
Дата:
Сообщение: Re: pg_attribute file in PostgreSQL 9.0
Следующее
От: Walter Hurry
Дата:
Сообщение: Re: table names seem identical