Re: FATAL: SMgrRelation hashtable corrupted

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: FATAL: SMgrRelation hashtable corrupted
Дата
Msg-id 29772.1558112962@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: FATAL: SMgrRelation hashtable corrupted  (Alvaro Herrera <alvherre@2ndquadrant.com>)
Список pgsql-general
Alvaro Herrera <alvherre@2ndquadrant.com> writes:
> On 2019-May-17, Tom Lane wrote:
>> The good news is that the underlying ALTER TABLE bug is fixed in 11.3.
>> The bad news is that your database is probably toast anyway --- an update
>> won't undo the catalog corruption that is causing the WAL replay crash.
>> I hope you have a recent backup to restore from.

> Hmm, shouldn't it be possible to do a PITR restore to the point just
> before the problem record, ie. 5E/17061648?

If he's got the necessary WAL archives :-(

A dump and restore would be advisable afterwards in any case, since
the catalog corruption would still be there.

            regards, tom lane



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

Предыдущее
От: Alvaro Herrera
Дата:
Сообщение: Re: FATAL: SMgrRelation hashtable corrupted
Следующее
От: Will Hartung
Дата:
Сообщение: Loading table with indexed jsonb field is stalling