Re: Corrupted Dabatabase - Mailing list pgsql-general

From Alex Ignatov
Subject Re: Corrupted Dabatabase
Date
Msg-id 1a8eabe2-a144-bfd8-276a-fa8e1b4f29f5@postgrespro.ru
Whole thread Raw
In response to Corrupted Dabatabase  (Pau Marc Muñoz Torres <paumarc@gmail.com>)
Responses Re: Corrupted Dabatabase  (Pau Marc Muñoz Torres <paumarc@gmail.com>)
List pgsql-general

On 27.06.2016 16:28, Pau Marc Muñoz Torres wrote:
Hello Everydody, 

 My database is corrupted, each time i try to list all the tables in the database  i have got the following message

hla2db=> \d
ERROR:  could not open relation 1663/16385/1255: Read-only file system

I read that my best option is to use my backup. Before using my backup i would like to remove all databases in postgresql and create everything again from scratch. Unfortunatlly i can't see the list of databases, althought i am able to create databse



 can you suggest what to do? is it a good idea to reinstall postgresql?



May be you filesystem is mounted read-only after power loss or some OS crash?

What OS do you have   - WIndows or some kind of Unix (Linux,  etc). Also what  file system  Postgresql data dir is using?

Alex Ignatov
Postgres Professional: http://www.postgrespro.com
The Russian Postgres Company

pgsql-general by date:

Previous
From: Tim Clarke
Date:
Subject: Re: Corrupted Dabatabase
Next
From: Pau Marc Muñoz Torres
Date:
Subject: Re: Corrupted Dabatabase