Re: Policy on schema-qualified names
От | Joachim Wieland |
---|---|
Тема | Re: Policy on schema-qualified names |
Дата | |
Msg-id | 20060131182936.GA2873@mcknight.de обсуждение исходный текст |
Ответ на | Re: Policy on schema-qualified names (Tom Lane <tgl@sss.pgh.pa.us>) |
Ответы |
Re: Policy on schema-qualified names
|
Список | pgsql-hackers |
On Mon, Jan 30, 2006 at 05:10:03PM -0500, Tom Lane wrote: > Peter Eisentraut <peter_e@gmx.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 either. 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 different languages. So you just lose precision for a questionable gain. Joachim
В списке pgsql-hackers по дате отправления: