Re: ERROR: could not open relation - Mailing list pgsql-general

From Tom Lane
Subject Re: ERROR: could not open relation
Date
Msg-id 13837.1121345879@sss.pgh.pa.us
Whole thread Raw
In response to ERROR: could not open relation  ("Thomas F. O'Connell" <tfo@sitening.com>)
Responses Re: ERROR: could not open relation
List pgsql-general
"Thomas F. O'Connell" <tfo@sitening.com> writes:
> Anyway, if I do a lookup by oid for 94144936 in pg_class, I don't see
> it. And, clearly, it's not in $PGDATA/base/32019395.

You should be looking at relfilenode.  See
http://www.postgresql.org/docs/8.0/static/storage.html
and/or use oid2name to figure out what table is being complained of.

            regards, tom lane

pgsql-general by date:

Previous
From: Russ Brown
Date:
Subject: Re: Quotation marks in queries
Next
From: Tom Lane
Date:
Subject: Re: Recursive stored procedure in C.