Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nlnzf-0000EH-B8 for pgsql-hackers@arkaria.postgresql.org; Tue, 03 May 2022 08:34:51 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1nlnzd-0000CT-CY for pgsql-hackers@arkaria.postgresql.org; Tue, 03 May 2022 08:34:49 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nlnzd-0000CJ-3N for pgsql-hackers@lists.postgresql.org; Tue, 03 May 2022 08:34:49 +0000 Received: from out3-smtp.messagingengine.com ([66.111.4.27]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nlnza-00032F-KD for pgsql-hackers@postgresql.org; Tue, 03 May 2022 08:34:48 +0000 Received: from compute2.internal (compute2.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id D5CE05C00E9; Tue, 3 May 2022 04:34:44 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute2.internal (MEProxy); Tue, 03 May 2022 04:34:44 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:date:date:from:from:in-reply-to:in-reply-to :message-id:mime-version:reply-to:sender:subject:subject:to:to :x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm1; t=1651566884; x=1651653284; bh=PAeQrvBuxeMm8lX/KDB036B7AopL Qmikz7ECBIM10o4=; b=WXLRwBCN3Omrv97SDpiVuINs0eZfEYb3yhctKCrRWA8m yya2qD8HnEK9gaFOnyEm7SqpeZLg+B/ZB0eYcabJ4uMZiF8nwZFLoUa3ap8LeazS MUwFY6oQ8Huyd4XemS18ELQ2vPjguHpU0l2HowLDYk3Ld/9l4zoAlYIebXO/6iPf D4rgTYBZBbBfJHWcxIF1IoyezhutsKKjGdgYoZpkvvQy8okpaIhIHa4ICk8isSSe 3UUvAz1BWEFcF26o8mzjuWJ5cU25o3+bMpH3gAAVU5DszowVkxIA1OGp1T7Zb5n/ 6VLWyRg7BAaaiZCSlTqer0YJJMCfZcCy2toJ8h2eog== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvfedrvdejgddtiecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpeffhffvvefukfggtggugfgjsehtkeertddttdejnecuhfhrohhmpeetlhhvrghr ohcujfgvrhhrvghrrgcuoegrlhhvhhgvrhhrvgesrghlvhhhrdhnohdqihhprdhorhhgqe enucggtffrrghtthgvrhhnpeekfeeiheekkefftdffgeegtdffleekiefguddvkefgudfg leeutdeihfektedugfenucffohhmrghinhepghhithhhuhgsrdgtohhmpdgvnhhtvghrph hrihhsvggusgdrtghomhenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgr ihhlfhhrohhmpegrlhhvhhgvrhhrvgesrghlvhhhrdhnohdqihhprdhorhhg X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Tue, 3 May 2022 04:34:44 -0400 (EDT) Received: by perhan.alvh.no-ip.org (Postfix, from userid 1000) id 5215D2A0FD1; Tue, 3 May 2022 10:34:41 +0200 (CEST) Date: Tue, 3 May 2022 10:34:41 +0200 From: Alvaro Herrera To: Michael Paquier Cc: David Christensen , Bharath Rupireddy , PostgreSQL-development , Greg Sabino Mullane Subject: Re: [PATCH] Teach pg_waldump to extract FPIs from the WAL Message-ID: <202205030834.4n6qbrivjtuk@alvherre.pgsql> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 2022-Apr-27, Michael Paquier wrote: > On Tue, Apr 26, 2022 at 01:15:05PM -0500, David Christensen wrote: > > True. :-) This does seem like a tool geared towards "expert mode", so > > maybe we just assume if you need it you know what you're doing? > > This is definitely an expert mode toy. I remember Greg Mullane posted a tool that attempts to correct page CRC mismatches[1]. This new tool might be useful to feed healing attempts, too. (It's of course not in any way a *solution*, because the page might have been modified by other WAL records since the last FPI, but it could be a start towards building a solution that scoops page contents from WAL.) [1] https://github.com/turnstep/pg_healer -- Álvaro Herrera 48°01'N 7°57'E — https://www.EnterpriseDB.com/ Subversion to GIT: the shortest path to happiness I've ever heard of (Alexey Klyukin)