Re: BUG #5338: PG_DUMP fails due to invalid adnum value

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Toni Helenius" <toni(dot)helenius(at)syncrontech(dot)com>
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: BUG #5338: PG_DUMP fails due to invalid adnum value
Date: 2010-02-22 17:13:50
Message-ID: 26871.1266858830@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

"Toni Helenius" <toni(dot)helenius(at)syncrontech(dot)com> writes:
> I tried to google this but I didn't get much info. What is this all about??

> I get the following error while trying to take a dump:
> pg_dump: finding the columns and types of table "bsc_day1_001"
> pg_dump: finding default expressions of table "bsc_day1_001"
> pg_dump: invalid adnum value 25493128 for table "bsc_day1_001"
> pg_dump: *** aborted because of error

Looks like you've got some data corruption in the pg_attrdef catalog :-(
It might be interesting to see what you get from
select * from pg_attrdef where adrelid = 'bsc_day1_001'::regclass;
which is approximately what pg_dump did here, and didn't like what it
saw.

regards, tom lane

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Kris Jurka 2010-02-22 17:25:29 Re: helo
Previous Message Allan Kamau 2010-02-22 16:01:55 Re: helo