pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Kirill Reshke <reshkekirill@gmail.com>
Cc: keeshd@keeshinds.com
Cc: pgsql-bugs@lists.postgresql.org
Subject: Re: BUG #19352: SQL Error messages do not include schema name along with table or data object name.
Date: Fri, 12 Dec 2025 10:39:55 -0500
Message-ID: <994716.1765553995@sss.pgh.pa.us> (raw)
In-Reply-To: <CALdSSPhrTa8oqJpXm3TZVfkMUC5mgnFgrQXfs0chkjaG9YRu9Q@mail.gmail.com>
References: <19352-51c017bf5177cadd@postgresql.org>
	<CALdSSPhrTa8oqJpXm3TZVfkMUC5mgnFgrQXfs0chkjaG9YRu9Q@mail.gmail.com>

Kirill Reshke <reshkekirill@gmail.com> writes:
> On Fri, 12 Dec 2025 at 13:33, PG Bug reporting form
> <noreply@postgresql.org> wrote:
>> Ideally this error message would be clearer if the schema name was included
>> with the data table or object name.

> So, if we do anything about this, we need to change all of these
> places... This is a big amount of work and would be HEAD-only.

Yeah, at a guess we'd be talking about touching a couple of thousand
places if we were to apply such a policy uniformly.  This has been
debated in the past and the answer has always come out "no"; not
just because of the work, but because it'd make errors more verbose
but frequently not more helpful.

As Álvaro notes nearby, we do have provisions for reporting associated
schema names as secondary error fields, although I think that's only
been implemented in a few dozen places.

			regards, tom lane





view thread (4+ messages)

Message-ID: <994716.1765553995@sss.pgh.pa.us>
Permalink:  ../994716.1765553995@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/994716.1765553995@sss.pgh.pa.us

 · 

reply

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 using the --to and --cc options:
  reply via email

  To: pgsql-bugs@postgresql.org
  Cc: tgl@sss.pgh.pa.us, reshkekirill@gmail.com, keeshd@keeshinds.com, pgsql-bugs@lists.postgresql.org
  Subject: Re: BUG #19352: SQL Error messages do not include schema name along with table or data object name.
  In-Reply-To: <994716.1765553995@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