Received: from malur.postgresql.org ([2a02:16a8:dc51::56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1fwFxA-00057R-CV for pgsql-general@arkaria.postgresql.org; Sun, 02 Sep 2018 00:09:21 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1fwFx8-0004Bs-Jc for pgsql-general@arkaria.postgresql.org; Sun, 02 Sep 2018 00:09:18 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1fwFx7-0004Bk-LN for pgsql-general@lists.postgresql.org; Sun, 02 Sep 2018 00:09:18 +0000 Received: from out1-smtp.messagingengine.com ([66.111.4.25]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1fwFx3-0004kk-Om for pgsql-general@postgresql.org; Sun, 02 Sep 2018 00:09:16 +0000 Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id 2343821AFB; Sat, 1 Sep 2018 20:09:12 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute6.internal (MEProxy); Sat, 01 Sep 2018 20:09:12 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aklaver.com; h= cc:content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc; s=fm3; bh=00sgGjZh1Hp7jK2c/D74/FUVDxN7A 9ENxLxpqD+V7oY=; b=U9h0qFJfXy2dX0T76HoVnEDHCWgA4XYdGUNqYNCKsm2Z8 CCsyOdFfHO8tulJTSJuJVRTNFKOnRtqyDr2mEnnqwGRd6c/8YcSDvkbDUidOk9hB q/og0cN9/y8ZmLnmNDntF1qQMgbU7V4sRmAWy4rImVsSqxXCF2PT3dVIjCII5jK6 yo2h2gfwxt1ZizSFmZ3OwOB7GQb2CQUZ4Tpn6dz3ea52Ca4X4cWP0atasOoboqoU foir1IxqfIwSlbuc8IehIRXQPxkdrLgeZ7BaTJbc0FW3npXKIKKQ35yhuXt/DZdB GaESgiwN/FcOAFlhsf5GrdjcibUUJFEfINef8aW4A== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-sender:x-me-sender:x-sasl-enc; s=fm3; bh=00sgGj Zh1Hp7jK2c/D74/FUVDxN7A9ENxLxpqD+V7oY=; b=QnwwPlgkprpb6Zdb/NgKaJ mmhFGP7fvNIED0uTEmYsFemgwRS6wT9iJIAwcZWP8Rdhw7XqAgj67TVl44rZGsiX H1i+6M2s5uI2edFmMJ+g0QZLlGzX5BwrzDUIS2enq1KfHBlWaIaANnaabMaA+GZe ev7VxURoGsp1UsOekYHparzWRaBuFYpG5HuJCwF5Ymqq2h4oesacR//osNaF7Yjo pGeJMMnlyjAjBuHx7UYe3Is7kkcl7Fr0tofHwydlTI67MaPyB1RFP8X2/ug45SXW tZ4s6uXYYnusiafhUODL/Lo/PL2zqPvSCsOMnvPX/hOfx8ngmXYwVDEx6GIm+qYA == X-ME-Proxy: X-ME-Sender: Received: from [192.168.1.3] (unknown [71.212.134.3]) by mail.messagingengine.com (Postfix) with ESMTPA id 35413E408D; Sat, 1 Sep 2018 20:09:11 -0400 (EDT) Subject: Re: locate DB corruption To: Dave Peticolas Cc: pgsql-general References: From: Adrian Klaver Message-ID: Date: Sat, 1 Sep 2018 17:09:10 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 09/01/2018 04:45 PM, Dave Peticolas wrote: > Well restoring from a backup of the primary does seem to have fixed the > issue with the corrupt table. Pretty sure it was not that the table was corrupt but that transaction information was missing from pg_clog. In a previous post you mentioned you ran tar to do the snapshot of $PG_DATA. Was there any error when tar ran the backup that caused you problems? -- Adrian Klaver adrian.klaver@aklaver.com