From: Tom Lane <tgl@sss.pgh.pa.us>
To: John R Pierce <pierce@hogranch.com>
Cc: pgsql-bugs@postgresql.org
Cc: IPN Bala GSS TVL <ipnb87@gmail.com>
Subject: Re: BUG #12812: invalid attribute number <number> for <table_name>
Date: Sat, 28 Feb 2015 10:58:15 -0500
Message-ID: <27738.1425139095@sss.pgh.pa.us> (raw)
In-Reply-To: <54F19160.7050606@hogranch.com>
References: <20150228062935.2544.57981@wrigleys.postgresql.org>
<CAB7nPqS7wB7UjVEQZ0hr6GuNc8+fwh2j2Q2xHdRgYskN2nJf+g@mail.gmail.com>
<CAFWGd=37_LQf9o0RZQ6vmqajh6ap85hAgyDvfu5ygr-=sV7few@mail.gmail.com>
<54F19160.7050606@hogranch.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>
John R Pierce <pierce@hogranch.com> writes:
> On 2/28/2015 1:50 AM, IPN Bala GSS TVL wrote:
>> ERROR: invalid attribute number 24932 for transaction_set
>> LINE 1: SELECT * FROM AD_GSS_DMS_P.TRANSACTION_SET
> that looks like data corruption may have occurred.
Yeah :-(. The only occurrence of that message text in 9.3 is in
RelationBuildTupleDesc, and it's saying it found a row in pg_attribute
with that attnum and the mentioned table's attrelid. The attnum is
obviously bogus for any row in pg_attribute, ergo something has corrupted
data in pg_attribute. It's unlikely that only one row has been corrupted,
too :-(
Depending on how valuable that database is, you might want to go back
to your last backups, or you might want to seek professional help
--- there are assorted consulting companies that specialize in dealing
with data-corruption situations.
In any case you should try to identify the cause of the problem.
It's more than likely a hardware or OS problem --- there are few
known reasons for Postgres itself to cause this sort of failure.
regards, tom lane
--
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs
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-bugs@postgresql.org
Cc: tgl@sss.pgh.pa.us, pierce@hogranch.com, ipnb87@gmail.com
Subject: Re: BUG #12812: invalid attribute number <number> for <table_name>
In-Reply-To: <27738.1425139095@sss.pgh.pa.us>
References: <20150228062935.2544.57981@wrigleys.postgresql.org> <CAB7nPqS7wB7UjVEQZ0hr6GuNc8+fwh2j2Q2xHdRgYskN2nJf+g@mail.gmail.com> <CAFWGd=37_LQf9o0RZQ6vmqajh6ap85hAgyDvfu5ygr-=sV7few@mail.gmail.com> <54F19160.7050606@hogranch.com> <27738.1425139095@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