Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hResO-000641-OW for pgsql-general@arkaria.postgresql.org; Fri, 17 May 2019 15:34:29 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1hResN-0002a4-CM for pgsql-general@arkaria.postgresql.org; Fri, 17 May 2019 15:34:27 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hResL-0002Zr-B2 for pgsql-general@lists.postgresql.org; Fri, 17 May 2019 15:34:27 +0000 Received: from out5-smtp.messagingengine.com ([66.111.4.29]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hResG-0008GW-PE for pgsql-general@lists.postgresql.org; Fri, 17 May 2019 15:34:24 +0000 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id 57D5522460; Fri, 17 May 2019 11:34:19 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute5.internal (MEProxy); Fri, 17 May 2019 11:34:19 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=anarazel.de; h= date:from:to:cc:subject:message-id:references:mime-version :content-type:in-reply-to; s=fm1; bh=+S4mEQfFY1Fw3sLB3mIQTl09Mun 4s3wO1ijWi2bsLa4=; b=O7X2tYaj9hT5ZytiV/8SQH9m++DoZDh+GAQMIat7m4m mT6Ar8+SBtRXD9Q0xOKX5eXaPiBLPPghopWX/xF8mp58HOhi4RBxyisHDidlEaSj BLP/drcHPqAAynJw/9utQtlCIO/Lb/zj8E+zfPKe6KQ/18WSrtCluMxlZL7YK9So nzYIk7zWzqk0MFtd2uyCHLUJMHe4/Z1gVjpY+f3f69VPOFzXn+cVgvG0ut/lOjrp ep7rFOUz3DP+Y08Nd3r5SA7+DiWlAeCN5WsiSO2uzL8d3BRDolcLR6aoAdMwXdTF Fq+c5u8pfqD0LbAwQABGCMJIeg9NTaFWfrkLjqSesCw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm2; bh=+S4mEQ fFY1Fw3sLB3mIQTl09Mun4s3wO1ijWi2bsLa4=; b=m03kaS63tBmBkbXRuZiTif M79h+D/4m4VqmC5wN2PaPRa7gSRvriHzPYqHajrD5CvUWF9aIAWXe6dDDRdDqznl ceOBjntTcHC3vc6ml+bzANtKGvA2x5+jWgndD8JvLpEQ/G5RxCpt3nW3moSlNSFh OR2f9FQomNDpl0oTM9EY+eTXhKz7Fa/3BUHQe864qMxVCav3RAIJzh3lWYquQrg8 9XEHmpyqOccnlt/IoAdL3MWFLd7QvzlNTOdD/RqvKNL5KmQ1VDunVHDcEgbsb1BT bIMQztz6DMsDG/iNoHs/Ia5Q6Kq7j/VefhN32lW9+8j4a6KNk2/6ILa/fwBVjIqg == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduuddruddtvddgledvucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepfffhvffukfhfgggtuggjsehttdertddttddvnecuhfhrohhmpeetnhgurhgv shcuhfhrvghunhguuceorghnughrvghssegrnhgrrhgriigvlhdruggvqeenucfkpheple ekrddvuddtrddugedtrddujedunecurfgrrhgrmhepmhgrihhlfhhrohhmpegrnhgurhgv shesrghnrghrrgiivghlrdguvgenucevlhhushhtvghrufhiiigvpedt X-ME-Proxy: Received: from intern.anarazel.de (c-98-210-140-171.hsd1.ca.comcast.net [98.210.140.171]) by mail.messagingengine.com (Postfix) with ESMTPA id 668E380061; Fri, 17 May 2019 11:34:18 -0400 (EDT) Date: Fri, 17 May 2019 08:34:16 -0700 From: Andres Freund To: Tom Lane Cc: Daulat Ram , "pgsql-general@lists.postgresql.org" Subject: Re: FATAL: SMgrRelation hashtable corrupted Message-ID: <20190517153416.di2z2e5bijblojap@alap3.anarazel.de> References: <6414.1558099805@sss.pgh.pa.us> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <6414.1558099805@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk 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