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
Views: Raw Message | Whole Thread | Download mbox | Resend email
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

Browse pgsql-bugs by date

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