Re: Database corruption.

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Database corruption.
Дата
Msg-id 29913.1170914234@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Database corruption.  (Michael Guerin <guerin@rentec.com>)
Ответы Re: Database corruption.  (Michael Guerin <guerin@rentec.com>)
Список pgsql-general
Michael Guerin <guerin@rentec.com> writes:
>> Hmm, that makes it sound like a plain old data-corruption problem, ie,
>> trashed xmin or xmax in some tuple header.  Can you do a "select
>> count(*)" from this table without getting the error?
>>
> no,  select count(*) fails around 25 millions rows.

OK, so you should be able to narrow down the corrupted row(s) and zero
them out, which'll at least let you get back the rest of the table.
See past archives for the standard divide-and-conquer approach to this.

            regards, tom lane

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

Предыдущее
От: Bruno Wolff III
Дата:
Сообщение: Re: temp tables in functions?
Следующее
От: Shane Ambler
Дата:
Сообщение: Re: accidentally deleted user --> postgres