Re: Do I have a corrupted database?

From: William Garrison <postgres(at)mobydisk(dot)com>
To: William Garrison <postgres(at)mobydisk(dot)com>, postgres General List <pgsql-general(at)postgresql(dot)org>
Subject: Re: Do I have a corrupted database?
Date: 2008-08-28 00:08:34
Message-ID: 48B5EC82.1090603@mobydisk.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Wait... there really is a pgfsck...? I just made that up as an example
of something I wanted. Great! And... how would I tell postgres to
start without using any indexes?

Martijn van Oosterhout wrote:
> On Wed, Aug 27, 2008 at 01:45:43PM -0400, William Garrison wrote:
>
>> Are there any kind of repair tools for a postgres database? Any sort of
>> routine where I can take it offline and run like pg_fsck --all and it
>> will come back with a report or a repair procedure?
>>
>
> You're going to have to be more specific. What do you mean by "this
> error"? It is possible to startup postgresql such that it will not use
> any system indexes.
>
> There is no tools that do fixing, only the DB server itself. If you
> can't get it to work within postgresql, then pgfsck can attempt to do a
> raw data dump. It doesn't guarentee the integrity of the data but it
> may be able to get your data out.
>
> Have a nice day,
>

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message William Garrison 2008-08-28 00:16:50 Re: Restoring a database from a file system snapshot
Previous Message Phoenix Kiula 2008-08-27 23:51:57 Re: Dumping/Restoring with constraints?