Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-bugs by date

Next:From: Kris JurkaDate: 2010-02-22 17:25:29
Subject: Re: helo
Previous:From: Allan KamauDate: 2010-02-22 16:01:55
Subject: Re: helo

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group