Re: FATAL: SMgrRelation hashtable corrupted - Mailing list pgsql-general

From Tom Lane
Subject Re: FATAL: SMgrRelation hashtable corrupted
Date
Msg-id 29772.1558112962@sss.pgh.pa.us
Whole thread Raw
In response to Re: FATAL: SMgrRelation hashtable corrupted  (Alvaro Herrera <alvherre@2ndquadrant.com>)
List 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 by date:

Previous
From: Alvaro Herrera
Date:
Subject: Re: FATAL: SMgrRelation hashtable corrupted
Next
From: Will Hartung
Date:
Subject: Loading table with indexed jsonb field is stalling