Re: Repairing table corruption - Mailing list pgsql-general

From Tod McQuillin
Subject Re: Repairing table corruption
Date
Msg-id 20010910152210.F89526-100000@glass.pun-pun.prv
Whole thread Raw
In response to Repairing table corruption  ("Graham White" <gawhite7@home.com>)
List pgsql-general
On Sun, 9 Sep 2001, Graham White wrote:

> We are looking at moving from a Mysql database setup and we understand
> that table corruption in Postgres is a lot less likely but if it does
> happen are there built in utilities to repair the tables? Recommended
> 3rd party products?  Thanks

If your table data becomes corrupted, then you really can't trust the data
contained there, and there's no way (in general) that any utility can
guess what the data should be.  In this case the only safe course is to
restore from backups.

This should be true for any databse product, but perhaps mysql is known to
fail in specific ways that a certain type of cleanup can repair.  I'm not
aware of any such known corruption patterns in PostgreSQL.
--
Tod McQuillin



pgsql-general by date:

Previous
From: "Graham White"
Date:
Subject: Repairing table corruption
Next
From: Jefim Matskin
Date:
Subject: FW: a plpgsql programming question