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

Re: pg_dump or hardware?

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: andrea suisani <andrea(dot)suisani(at)opinioni(dot)net>
Cc: "PostgreSQL Bugs List" <pgsql-bugs(at)postgresql(dot)org>
Subject: Re: pg_dump or hardware?
Date: 2006-04-19 17:28:48
Message-ID: 277.1145467728@sss.pgh.pa.us (view raw or flat)
Thread:
Lists: pgsql-bugs
andrea suisani <andrea(dot)suisani(at)opinioni(dot)net> writes:
> pg_dump: ERROR:  could not open relation with OID 201327173
> pg_dump: SQL command to dump the contents of table "nominativi" failed: PQendcopy() failed.
> pg_dump: Error message from server: ERROR:  could not open relation with OID 201327173

Hmm ... what do you get from

select oid from pg_class where relname = 'nominativi';
select relname from pg_class where oid = 201327173;

If the first returns 201327173 while the second doesn't return anything,
then I'd wonder about corruption of pg_class's OID index.  REINDEXing it
might help.  I don't remember whether 7.4 makes you use a standalone
backend to reindex system catalogs --- see its REINDEX man page for
details.

			regards, tom lane

In response to

Responses

pgsql-bugs by date

Next:From: Peter BrantDate: 2006-04-19 17:55:33
Subject: Re: Permission denied on fsync / Win32 (was right
Previous:From: Tom LaneDate: 2006-04-19 17:21:04
Subject: Re: Permission denied on fsync / Win32 (was right

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