On Mon, Jan 30, 2006 at 05:10:03PM -0500, Tom Lane wrote:
> Peter Eisentraut <peter_e(at)gmx(dot)net> writes:
> > Joachim Wieland wrote:
> >> I wonder if there is a policy on when schema-qualified names should
> >> be used in ereport/elog messages.
> > If it's not too hard to do, I would add the schema name in most places.
> Actually, it's semi-consciously omitted in most places on the grounds
> that (1) it's seldom necessary to identify the problem, and (2) in many
> error messages it would contribute to violating the "make it fit on one
> line" style guideline.
(1) is probably true but it wouldn't hurt to include the schema name there
Making assumptions on the length of an error message seems to be moot
anyway, since you don't know the length of the names of user defined objects
in advance, nor do you know the length of the translated message strings in
So you just lose precision for a questionable gain.
In response to
pgsql-hackers by date
|Next:||From: Tom Lane||Date: 2006-01-31 18:46:42|
|Subject: Re: Policy on schema-qualified names |
|Previous:||From: Jay Jay||Date: 2006-01-31 17:07:02|
|Subject: Vacuum and Hash Tables|