From: | "Gurjeet Singh" <singh(dot)gurjeet(at)gmail(dot)com> |
---|---|
To: | "Zdenek Kotala" <Zdenek(dot)Kotala(at)sun(dot)com> |
Cc: | "Q Master" <theqmaster(at)gmail(dot)com>, pgsql-general(at)postgresql(dot)org |
Subject: | Re: ERROR: could not open relation |
Date: | 2008-05-07 08:44:34 |
Message-ID: | 65937bea0805070144l20afe9bav55ea917ba4f3bf5@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
On Wed, May 7, 2008 at 1:50 PM, Zdenek Kotala <Zdenek(dot)Kotala(at)sun(dot)com> wrote:
> Q Master napsal(a):
>
> > I get this strange error
> >
> > Caused by: org.postgresql.util.PSQLException: ERROR: could not open
> > relation 1663/53544/58374: No such file or directory
> >
> > How do I recover from it ? Version 8.2 on windows.
> >
> > I think I had an hardware issue in the past where my box rebooted few
> > times I assume this is due to that thing.
> >
> > I tried to re index them but is not working. Any ideas ?
> >
> >
> 2) get table name (connect to affected database)
>
> select * from pg_class where oid=58374
>
The query should be
select * from pg_class where relfienode = 58374
Best regards
--
gurjeet[(dot)singh](at)EnterpriseDB(dot)com
singh(dot)gurjeet(at){ gmail | hotmail | indiatimes | yahoo }.com
EnterpriseDB http://www.enterprisedb.com
Mail sent from my BlackLaptop device
From | Date | Subject | |
---|---|---|---|
Next Message | Zdenek Kotala | 2008-05-07 09:45:02 | Re: ERROR: could not open relation |
Previous Message | Zdenek Kotala | 2008-05-07 08:20:55 | Re: ERROR: could not open relation |