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 1lz8QB-0008Nj-6m for pgsql-hackers@arkaria.postgresql.org; Fri, 02 Jul 2021 01:56:47 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1lz8QA-00072T-4u for pgsql-hackers@arkaria.postgresql.org; Fri, 02 Jul 2021 01:56:46 +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 1lz8Q9-00072L-TL for pgsql-hackers@lists.postgresql.org; Fri, 02 Jul 2021 01:56:45 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lz8Q7-0000yv-TU for pgsql-hackers@postgresql.org; Fri, 02 Jul 2021 01:56:44 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.15.2/8.15.2) with ESMTP id 1621uehF772143; Thu, 1 Jul 2021 21:56:40 -0400 From: Tom Lane To: Jeremy Schneider cc: PostgreSQL-development Subject: Re: relation OID in ReorderBufferToastReplace error message In-reply-to: <808ed65b-994c-915a-361c-577f088b837f@amazon.com> References: <808ed65b-994c-915a-361c-577f088b837f@amazon.com> Comments: In-reply-to Jeremy Schneider message dated "Thu, 01 Jul 2021 18:25:58 -0700" MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-ID: <772141.1625191000.1@sss.pgh.pa.us> Content-Transfer-Encoding: 8bit Date: Thu, 01 Jul 2021 21:56:40 -0400 Message-ID: <772142.1625191000@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Jeremy Schneider writes: > Nonetheless, in the process of troubleshooting it occurred to me that > this error message would be more useful in general if it included the > base relation OID in the error message. Amit suggested a separate thread > - so here we are.  :) > Anyone have thoughts?  Would I need a commitfest entry to propose a > two-line tweak like this? Probably not, unless it slips through the cracks. But I wonder why print the parent's OID, when we have access to its name. regards, tom lane