pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Kevin Grittner <Kevin.Grittner@wicourts.gov>
To: Lukasz Brodziak <lukasz.brodziak@gmail.com>
Cc: Steve Crawford <scrawford@pinpointresearch.com>
Cc: pgsql-admin@postgresql.org
Cc: Tom Lane <tgl@sss.pgh.pa.us>
Subject: Re: pg_attribute file in PostgreSQL 9.0
Date: Wed, 07 Mar 2012 11:57:59 -0600
Message-ID: <4F574D470200002500045FAB@gw.wicourts.gov> (raw)
In-Reply-To: <10158.1331141065@sss.pgh.pa.us>
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>
	<4F579779.9000001@pinpointresearch.com>
	<10158.1331141065@sss.pgh.pa.us>

Tom Lane <tgl@sss.pgh.pa.us> wrote:
> 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.
 
http://wiki.postgresql.org/wiki/Corruption
 
-Kevin



view thread (9+ messages)

Message-ID: <4F574D470200002500045FAB@gw.wicourts.gov>
Permalink:  ../4F574D470200002500045FAB@gw.wicourts.gov/
Also on:    postgresql.org/message-id/4F574D470200002500045FAB@gw.wicourts.gov

 · 

reply

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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: Kevin.Grittner@wicourts.gov, lukasz.brodziak@gmail.com, scrawford@pinpointresearch.com, tgl@sss.pgh.pa.us
  Subject: Re: pg_attribute file in PostgreSQL 9.0
  In-Reply-To: <4F574D470200002500045FAB@gw.wicourts.gov>
  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> <10158.1331141065@sss.pgh.pa.us> <4F574D470200002500045FAB@gw.wicourts.gov>

* 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