pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Andres Freund <andres@anarazel.de>
To: Tom Lane <tgl@sss.pgh.pa.us>
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 08:34:16 -0700
Message-ID: <20190517153416.di2z2e5bijblojap@alap3.anarazel.de> (raw)
In-Reply-To: <6414.1558099805@sss.pgh.pa.us>
References: <BL0PR01MB5187D3C3C76CA817560D223A9B0B0@BL0PR01MB5187.prod.exchangelabs.com>
	<6414.1558099805@sss.pgh.pa.us>

Hi,

On 2019-05-17 09:30:05 -0400, 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.

Should there not be a backup, couldn't weaken the error checks during
replay a bit (locally), to allow replay to progress? The indexes will be
toast, but it ought to allow to recover the table data completely.

Greetings,

Andres Freund





view thread (5+ messages)  latest in thread

Message-ID: <20190517153416.di2z2e5bijblojap@alap3.anarazel.de>
Permalink:  ../20190517153416.di2z2e5bijblojap@alap3.anarazel.de/
Also on:    postgresql.org/message-id/20190517153416.di2z2e5bijblojap@alap3.anarazel.de

 · 

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: andres@anarazel.de, tgl@sss.pgh.pa.us, Daulat.Ram@exponential.com
  Subject: Re: FATAL: SMgrRelation hashtable corrupted
  In-Reply-To: <20190517153416.di2z2e5bijblojap@alap3.anarazel.de>
  References: <BL0PR01MB5187D3C3C76CA817560D223A9B0B0@BL0PR01MB5187.prod.exchangelabs.com> <6414.1558099805@sss.pgh.pa.us> <20190517153416.di2z2e5bijblojap@alap3.anarazel.de>

* 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