Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Data Bases > Pgsql General > Re: ERROR: coul...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 2 of 4 Topic 15477 of 17437
Post > Topic >>

Re: ERROR: could not open relation

by Zdenek.Kotala@[EMAIL PROTECTED] (Zdenek Kotala) May 7, 2008 at 10:20 AM

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 ?
> 

You lost file related to table 58374 and database 53544. Check presence
file 
with name 58374 in directory base/53544.

You can determine which table is it:

1) get database name
select * from pg_database where oid=53544

2) get table name (connect to affected database)

select * from pg_class where oid=58374


Probably there is no much what you can do. Only restore from backup.

		Zdenek

-- 
Sent via pgsql-general mailing list (pgsql-general@[EMAIL PROTECTED]
)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general
 




 4 Posts in Topic:
ERROR: could not open relation
theqmaster@[EMAIL PROTECT  2008-05-06 21:53:05 
Re: ERROR: could not open relation
Zdenek.Kotala@[EMAIL PROT  2008-05-07 10:20:55 
Re: ERROR: could not open relation
singh.gurjeet@[EMAIL PROT  2008-05-07 14:14:34 
Re: ERROR: could not open relation
Zdenek.Kotala@[EMAIL PROT  2008-05-07 11:45:02 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Sat Nov 22 12:08:24 CST 2008.