From: Tom Lane <tgl@sss.pgh.pa.us>
To: Jeremy Schneider <schnjere@amazon.com>
Cc: PostgreSQL-development <pgsql-hackers@postgresql.org>
Subject: Re: relation OID in ReorderBufferToastReplace error message
Date: Thu, 01 Jul 2021 21:56:40 -0400
Message-ID: <772142.1625191000@sss.pgh.pa.us> (raw)
In-Reply-To: <808ed65b-994c-915a-361c-577f088b837f@amazon.com>
References: <808ed65b-994c-915a-361c-577f088b837f@amazon.com>
Jeremy Schneider <schnjere@amazon.com> 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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-hackers@postgresql.org
Cc: tgl@sss.pgh.pa.us, schnjere@amazon.com
Subject: Re: relation OID in ReorderBufferToastReplace error message
In-Reply-To: <772142.1625191000@sss.pgh.pa.us>
References: <808ed65b-994c-915a-361c-577f088b837f@amazon.com> <772142.1625191000@sss.pgh.pa.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox