Re: quick review - Mailing list pgsql-hackers

From Douglas McNaught
Subject Re: quick review
Date
Msg-id 87vel84hpb.fsf@suzuka.mcnaught.org
Whole thread Raw
In response to Re: quick review  (Andrew Dunstan <andrew@dunslane.net>)
List pgsql-hackers
Andrew Dunstan <andrew@dunslane.net> writes:

> Now ask your clients what errors they see that could be fixed by a
> repair tool. I think Bruce's formulation is unfortunate, and would
> look better like this: When we find that there is a bug that causes
> data corruption we fix the bug rather than supplying a workaround. Our
> position is that repair tools are mostly a bandaid, and we would
> rather fix the problem.

From what Tom and some others have been saying, it sounds as though
there might be scope for a debugfs(8) sort of tool, to assist in
reconstructing hardware-damaged data.  I agree that any kind of
fsck(8)-style automatic de-scragger is probably not what we want.

The abovementioned tool would still require someone fairly
knowledgeble about the on-disk data structures to drive it.

-Doug


pgsql-hackers by date:

Previous
From: "Joshua D. Drake"
Date:
Subject: Re: quick review
Next
From: Tom Lane
Date:
Subject: Re: [BUGS] backup + restore fails