Re: pg_dump or hardware? - Mailing list pgsql-bugs

From Tom Lane
Subject Re: pg_dump or hardware?
Date
Msg-id 277.1145467728@sss.pgh.pa.us
Whole thread Raw
In response to pg_dump or hardware?  (andrea suisani <andrea.suisani@opinioni.net>)
Responses Re: pg_dump or hardware?  (andrea suisani <andrea.suisani@opinioni.net>)
List pgsql-bugs
andrea suisani <andrea.suisani@opinioni.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

pgsql-bugs by date:

Previous
From: Tom Lane
Date:
Subject: Re: Permission denied on fsync / Win32 (was right
Next
From: "Peter Brant"
Date:
Subject: Re: Permission denied on fsync / Win32 (was right