pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Alvaro Herrera <alvherre@2ndquadrant.com>
Cc: Daulat Ram <Daulat.Ram@exponential.com>
Cc: pgsql-general@lists.postgresql.org <pgsql-general@lists.postgresql.org>
Subject: Re: FATAL: SMgrRelation hashtable corrupted
Date: Fri, 17 May 2019 13:09:22 -0400
Message-ID: <29772.1558112962@sss.pgh.pa.us> (raw)
In-Reply-To: <20190517154237.GA26653@alvherre.pgsql>
References: <20190517154237.GA26653@alvherre.pgsql>

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





view thread (5+ messages)

Message-ID: <29772.1558112962@sss.pgh.pa.us>
Permalink:  ../29772.1558112962@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/29772.1558112962@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: tgl@sss.pgh.pa.us, alvherre@2ndquadrant.com, Daulat.Ram@exponential.com
  Subject: Re: FATAL: SMgrRelation hashtable corrupted
  In-Reply-To: <29772.1558112962@sss.pgh.pa.us>
  References: <20190517154237.GA26653@alvherre.pgsql> <29772.1558112962@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox