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 1hRcwA-0008RP-DF for pgsql-general@arkaria.postgresql.org; Fri, 17 May 2019 13:30:14 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1hRcw8-0008Kf-P4 for pgsql-general@arkaria.postgresql.org; Fri, 17 May 2019 13:30:12 +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 1hRcw8-0008KX-Bu for pgsql-general@lists.postgresql.org; Fri, 17 May 2019 13:30:12 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hRcw5-0005RD-NU for pgsql-general@lists.postgresql.org; Fri, 17 May 2019 13:30:11 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id x4HDU5DK006415; Fri, 17 May 2019 09:30:05 -0400 From: Tom Lane To: Daulat Ram cc: "pgsql-general@lists.postgresql.org" Subject: Re: FATAL: SMgrRelation hashtable corrupted In-reply-to: References: Comments: In-reply-to Daulat Ram message dated "Fri, 17 May 2019 06:54:59 -0000" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <6413.1558099805.1@sss.pgh.pa.us> Content-Transfer-Encoding: quoted-printable Date: Fri, 17 May 2019 09:30:05 -0400 Message-ID: <6414.1558099805@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Daulat Ram writes: > My Postgres 11.2 container is not started due to the below error message= . It is in streaming replication environment. > 2019-05-17 06:41:19.954 UTC [11] FATAL: SMgrRelation hashtable corrupte= d Yes, this is probably the same issue reported in https://www.postgresql.org/message-id/15672-b9fa7db32698269f@postgresql.or= g https://www.postgresql.org/message-id/15684-4ef33de3271cf929@postgresql.or= g 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. regards, tom lane