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 1pXe8G-0002JP-OX for pgsql-hackers@arkaria.postgresql.org; Thu, 02 Mar 2023 08:17:44 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1pXe8F-0002gD-Ij for pgsql-hackers@arkaria.postgresql.org; Thu, 02 Mar 2023 08:17:43 +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 1pXe8F-0002g3-90 for pgsql-hackers@lists.postgresql.org; Thu, 02 Mar 2023 08:17:43 +0000 Received: from wnew1-smtp.messagingengine.com ([64.147.123.26]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1pXe8C-0003r6-LD for pgsql-hackers@postgresql.org; Thu, 02 Mar 2023 08:17:42 +0000 Received: from compute2.internal (compute2.nyi.internal [10.202.2.46]) by mailnew.west.internal (Postfix) with ESMTP id 093572B07D9B; Thu, 2 Mar 2023 03:17:36 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute2.internal (MEProxy); Thu, 02 Mar 2023 03:17:37 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :references: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= 1677745056; x=1677752256; bh=kQKMfuepl9CO6PQS1HnQqEoxv4S4Zt9+Qzf ChgtJBUg=; b=Mp5C2oKfbRFrWkYb7IcWLs0vC7BDB/CznmbfMynTDnS0iEUHovO kQzQBIwXuZ7jLuu6a2BibAMll+AP4//h3esIMmlX6geL7VMGX9Zy2Z8rOw2YcYaC sXKo6cu161LUZYFS0cEgBOcm7cOlCXM6YqO1DDy/03uRgqONSBWlUfwDNBD9gNa1 Bz/SaUgtpMyZP6TeqUaBjHsvzNOAy7bVbxB3Fdivcw/qrV4Ybb/nBkNKkS+EWi02 iH1HxFCXuoo4ulGkiKGsO7W2eUsRLGWHhdqeZlyN2KHBpt1z9EMoJ2vIbrRH1Z5g MKekKxOejjV2Cm3IClvw8jXmsLiKGOgWd1g== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvhedrudeliedgudduhecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enucfjughrpefkffggfgfuvfevfhfhjggtgfesthejredttdefjeenucfhrhhomheprfgv thgvrhcugfhishgvnhhtrhgruhhtuceophgvthgvrhdrvghishgvnhhtrhgruhhtsegvnh htvghrphhrihhsvggusgdrtghomheqnecuggftrfgrthhtvghrnhepheelffeggedujeet iefhleetuddvieffhfffvdejvdffgeejkeduleduheduieefnecuvehluhhsthgvrhfuih iivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepphgvthgvrhdrvghishgvnhhtrhgr uhhtsegvnhhtvghrphhrihhsvggusgdrtghomh X-ME-Proxy: Feedback-ID: i131946ab:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Thu, 2 Mar 2023 03:17:35 -0500 (EST) Message-ID: <197fca5f-669b-ed76-6cc5-1dd81e63fa13@enterprisedb.com> Date: Thu, 2 Mar 2023 09:17:34 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0) Gecko/20100101 Thunderbird/102.8.0 Subject: Re: Show various offset arrays for heap WAL records Content-Language: en-US To: Melanie Plageman , Peter Geoghegan Cc: Andres Freund , pgsql-hackers@postgresql.org References: <20230109215842.fktuhesvayno6o4g@awork3.anarazel.de> <20230110193457.35y7s5h4bastkyd3@awork3.anarazel.de> <20230111230045.dxftr4wtw2ceprti@awork3.anarazel.de> From: Peter Eisentraut In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 01.03.23 17:11, Melanie Plageman wrote: > diff --git a/contrib/pg_walinspect/pg_walinspect--1.0.sql b/contrib/pg_walinspect/pg_walinspect--1.0.sql > index 08b3dd5556..eb8ff82dd8 100644 > --- a/contrib/pg_walinspect/pg_walinspect--1.0.sql > +++ b/contrib/pg_walinspect/pg_walinspect--1.0.sql > @@ -17,7 +17,7 @@ CREATE FUNCTION pg_get_wal_record_info(IN in_lsn pg_lsn, > OUT main_data_length int4, > OUT fpi_length int4, > OUT description text, > - OUT block_ref text > + OUT block_ref int4[][] > ) > AS 'MODULE_PATHNAME', 'pg_get_wal_record_info' > LANGUAGE C STRICT PARALLEL SAFE; A change like this would require a new extension version and an upgrade script. I suppose it's ok to postpone that work while the actual meat of the patch is still being worked out, but I figured I'd mention it in case it wasn't considered yet.