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 1hRf0P-0006Q9-QA for pgsql-general@arkaria.postgresql.org; Fri, 17 May 2019 15:42:46 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1hRf0O-0000rN-27 for pgsql-general@arkaria.postgresql.org; Fri, 17 May 2019 15:42:44 +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 1hRf0N-0000rF-Ib for pgsql-general@lists.postgresql.org; Fri, 17 May 2019 15:42:43 +0000 Received: from mail-qt1-x841.google.com ([2607:f8b0:4864:20::841]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hRf0K-0008V9-NW for pgsql-general@lists.postgresql.org; Fri, 17 May 2019 15:42:42 +0000 Received: by mail-qt1-x841.google.com with SMTP id y22so8474531qtn.8 for ; Fri, 17 May 2019 08:42:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=2ndquadrant-com.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:mime-version:content-disposition :content-transfer-encoding:in-reply-to:user-agent; bh=U7sQ7ZoHxy0T6NHBGcw0sPfT3evzhCDKhh0rIfngRA0=; b=V31ql5AfmBDYA0FE/Ri8s3SKclYhLx+ln7XhQt8skhqTw9Mzxa00V52Q2SeTks2lxw pf7Z7+xsAR2IBLlGZWQlgcA2M/zly3+uRj3xwpiWvGQWfEiJxJy56lmMYZUWevMUqoXm CG+TdVuJEh5LGB5FyexdmLYKs/w0utlv1kwohSL4SlTUpCbs13ikeBSCAb+75g2xg6Xc lN/Yw9rH+TLCr4l8c+IGJa9rm1jTD/CvP09I9c47BPUOdJhwOXqlV2LHW482wp/HQvHF VTKimLDhE9BYu0YBBH/a1yA8vu+OJWkE2mVCCwKBbptWoJ6vpAi3GLmAUO3fvFYXkbQm 1azQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:mime-version :content-disposition:content-transfer-encoding:in-reply-to :user-agent; bh=U7sQ7ZoHxy0T6NHBGcw0sPfT3evzhCDKhh0rIfngRA0=; b=ezoRqmyMa4O2f/bfO7S1ldBIR/e82ccrSApaVEYdMKK7nj3SEhFoNEoCoZX0YuMrt9 XESqSzQeCtW95YXVGajtD37UK+zNR4UoXmCF2DA7NhLoLJm8qDxqf53UlcgyEAlfDwCY Ujpaub2mEHAVexhcMRloUIEZlc5jMfx6t+n5/LFcryVWV4cgd15bd6wnXj+5ZPpMle/I 5G6lqQJBcpeJKqmZt8hLC1XvZLYI3QyK2kJWJg/25ZzzyiZmX/fU4o6tfs2C+3QF2hUs fwKimfSxfcuTftetym7+RwPzg9zwV0/59SV6jO/yCHMuOQLjD1F/iwiHX8jq6AM22rnD DizA== X-Gm-Message-State: APjAAAUphMwv5eGcoWSzF4zMpfbWSkf57+em0VgGHnAV/pUTJ9dp3n95 Qmp66FEQ/CHA2hNkeVoH2aww8w== X-Google-Smtp-Source: APXvYqxvAsP1JkxCO898galw8744rbFpFtLqJ4A1CHMz7E8q/qBuHNqH7cYsFtXQPUNDe01Ix2hG+w== X-Received: by 2002:a0c:afaa:: with SMTP id s39mr18629368qvc.117.1558107759682; Fri, 17 May 2019 08:42:39 -0700 (PDT) Received: from nimloth.alvh.no-ip.org ([179.56.48.227]) by smtp.gmail.com with ESMTPSA id d64sm4371009qke.55.2019.05.17.08.42.39 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 17 May 2019 08:42:39 -0700 (PDT) Received: by nimloth.alvh.no-ip.org (Postfix, from userid 1000) id 9E985120617; Fri, 17 May 2019 11:42:37 -0400 (-04) Date: Fri, 17 May 2019 11:42:37 -0400 From: Alvaro Herrera To: Tom Lane Cc: Daulat Ram , "pgsql-general@lists.postgresql.org" Subject: Re: FATAL: SMgrRelation hashtable corrupted Message-ID: <20190517154237.GA26653@alvherre.pgsql> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <6414.1558099805@sss.pgh.pa.us> User-Agent: Mutt/1.9.4 (2018-02-28) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk 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? -- Álvaro Herrera https://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services