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 1mTTPQ-0007ob-HW for pgsql-hackers@arkaria.postgresql.org; Thu, 23 Sep 2021 18:25:24 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1mTTPP-0001ce-2f for pgsql-hackers@arkaria.postgresql.org; Thu, 23 Sep 2021 18:25:23 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mTTPO-0001cV-0y for pgsql-hackers@lists.postgresql.org; Thu, 23 Sep 2021 18:25:22 +0000 Received: from out4-smtp.messagingengine.com ([66.111.4.28]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mTTPL-0007y7-DV for pgsql-hackers@postgresql.org; Thu, 23 Sep 2021 18:25:21 +0000 Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.nyi.internal (Postfix) with ESMTP id 136635C01C0; Thu, 23 Sep 2021 14:25:18 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute3.internal (MEProxy); Thu, 23 Sep 2021 14:25:18 -0400 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:subject:to :x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm3; bh=Ce7tzBU5cs8X7VKhhYRm/ixhpff0DY7AzcyTtkhc+Rs=; b=RzPm8Ttt dLHtuPdQ2KjaiXhiG1CSmphTnXNZEtXgMk3YAY42Lwm8bcV7qh9ZjlMzgVFWwP0t Rns34CBodUrYL0RnTCb67ftYzMSg7yLa6SJce1Ocj5e4JpfpC1OUPmdC20z7hUB8 irbhc3h7g2EcBdqWFQPsdj+XhgNaobGgUMsgvpdRxN1soXiljdC5CnNd7qiZR0v4 DJvdwz3mQ82XnCXQnxgZdQ6Mw2t4JhU9lHKnePyrNxnDoYng6vhUyi0E9Rlkatu4 h2kZITa4u8x/nACWSPnXFMQ6QFQhvourY9fe7jL4bRMhdC3WVdU8d9RD3BDVN8XC xovIC6EFzGC8Ww== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvtddrudeiledguddvgecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enucfjughrpeffhffvuffkgggtugfgjgesthekredttddtjeenucfhrhhomheptehlvhgr rhhoucfjvghrrhgvrhgruceorghlvhhhvghrrhgvsegrlhhvhhdrnhhoqdhiphdrohhrgh eqnecuggftrfgrthhtvghrnhepledthfeuvdejffdvtefgieeukeefteehteeiuddvkeel udeuhfethffhfedtgeehnecuffhomhgrihhnpehpohhsthhgrhdrvghspdgvnhhtvghrph hrihhsvggusgdrtghomhdpphhoshhtghhrvghsqhhlrdhorhhgnecuvehluhhsthgvrhfu ihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomheprghlvhhhvghrrhgvsegrlhhvhh drnhhoqdhiphdrohhrgh X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Thu, 23 Sep 2021 14:25:17 -0400 (EDT) Received: by perhan.alvh.no-ip.org (Postfix, from userid 1000) id 48E252A077A; Thu, 23 Sep 2021 15:25:13 -0300 (-03) Date: Thu, 23 Sep 2021 15:25:13 -0300 From: Alvaro Herrera To: Jeremy Schneider Cc: Amit Kapila , PostgreSQL-development Subject: Re: relation OID in ReorderBufferToastReplace error message Message-ID: <202109231825.nr5sry6akb7i@alvherre.pgsql> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <04dfb298-0aa7-6cc6-968c-cac1d5fffa33@amazon.com> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 2021-Sep-23, Jeremy Schneider wrote: > On 9/22/21 20:11, Amit Kapila wrote: > > > > On Thu, Sep 23, 2021 at 3:06 AM Jeremy Schneider wrote: > >> > >> Any chance of back-patching this? > > > > Normally, we don't back-patch code improvements unless they fix some > > bug or avoid future back-patch efforts. So, I am not inclined to > > back-patch this but if others also feel strongly about this then we > > can consider it. > > The original thread about the logical replication bugs spawned a few > different threads and code changes. The other code changes coming out of > those threads were all back-patched, but I guess I can see arguments > both ways on this one. I think that for patches that are simple debugging aids we do backpatch, with the intent to get them deployed in users' systems as soon and as widely possible. I did that in this one, for example Author: Alvaro Herrera Branch: master [961dd7565] 2021-08-30 16:29:12 -0400 Branch: REL_14_STABLE [eae08e216] 2021-08-30 16:29:12 -0400 Branch: REL_13_STABLE [6197d7b53] 2021-08-30 16:29:12 -0400 Branch: REL_12_STABLE [fa8ae19be] 2021-08-30 16:29:12 -0400 Branch: REL_11_STABLE [0105b7aaa] 2021-08-30 16:29:12 -0400 Branch: REL_10_STABLE [02797ffa9] 2021-08-30 16:29:12 -0400 Branch: REL9_6_STABLE [37e468252] 2021-08-30 16:29:12 -0400 Report tuple address in data-corruption error message Most data-corruption reports mention the location of the problem, but this one failed to. Add it. Backpatch all the way back. In 12 and older, also assign the ERRCODE_DATA_CORRUPTED error code as was done in commit fd6ec93bf890 for 13 and later. Discussion: https://postgr.es/m/202108191637.oqyzrdtnheir@alvherre.pgsql -- Álvaro Herrera 39°49'30"S 73°17'W — https://www.EnterpriseDB.com/ "I'm impressed how quickly you are fixing this obscure issue. I came from MS SQL and it would be hard for me to put into words how much of a better job you all are doing on [PostgreSQL]." Steve Midgley, http://archives.postgresql.org/pgsql-sql/2008-08/msg00000.php