Re: Database corruption.

Поиск
Список
Период
Сортировка
От Brusser, Michael
Тема Re: Database corruption.
Дата
Msg-id DAF7A2046DD4A24F8F77B086F840BF1907FE8396@msx11am.matrixone.net
обсуждение исходный текст
Ответ на Re: Database corruption.  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-general
>> Zeroing out the whole block containing it is the usual recipe.

Something like this worked for me in the past:

% dd bs=8k count=X < /dev/zero >> clog-file

I had to calculate X, because I usually had a situation with truncated
clog-file, and a failed attempt to read it from offset XYZ.
And I used pg_controldata to check on the block-size.

Mike.

В списке pgsql-general по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Database corruption.
Следующее
От: "Michael Schmidt"
Дата:
Сообщение: Re: SQL textbook