Re: A Japanese-unfriendy error message contruction

Поиск
Список
Период
Сортировка
Искать
От
Tom Lane
Тема
Re: A Japanese-unfriendy error message contruction
Дата
в 18:20:24
Msg-id
4979.1527088824@sss.pgh.pa.us
Ответ на
Список
Дерево обсуждения
A Japanese-unfriendy error message contruction Kyotaro HORIGUCHI <horiguchi.kyotaro@lab.ntt.co.jp>
Re: A Japanese-unfriendy error message contruction Tom Lane <tgl@sss.pgh.pa.us>
Re: A Japanese-unfriendy error message contruction Kyotaro HORIGUCHI <horiguchi.kyotaro@lab.ntt.co.jp>
Re: A Japanese-unfriendy error message contruction Tom Lane <tgl@sss.pgh.pa.us>
Re: A Japanese-unfriendy error message contruction Kyotaro HORIGUCHI <horiguchi.kyotaro@lab.ntt.co.jp>
Re: A Japanese-unfriendy error message contruction Tom Lane <tgl@sss.pgh.pa.us>
Re: A Japanese-unfriendy error message contruction Kyotaro HORIGUCHI <horiguchi.kyotaro@lab.ntt.co.jp>
Re: A Japanese-unfriendy error message contruction Euler Taveira <euler@timbira.com.br>
Kyotaro HORIGUCHI  writes:
> At Tue, 22 May 2018 14:27:29 -0400, Tom Lane  wrote in <13575.1527013649@sss.pgh.pa.us>
>> * Is it OK for the OCLASS_CLASS-with-subId case to assume that it can
>> tack on "column COLNAME" after the description of the relation containing
>> the column?  Perhaps this is tolerable but I'm not sure.  In English it'd
>> be at least as plausible to write "column COLNAME of ", and
>> maybe there are other languages where there's no good way to deal with
>> the current message structure.

> In Japanese it is written as " RELNAME 'NO'  COLNAME"
> the or just " RELNAME  COLNAME" is no problem.

After thinking about this some more, I'd like to propose that we change
the English output to be "column COLNAME of ", using code
similar to what you suggested for O_POLICY etc.  I know that I've been
momentarily confused more than once by looking at obj_description output
and thinking "what, the whole relation depends on this? ... oh, no, it's
just the one column".  It would be better if the head-word were "column".
If that leads to better translations in other languages, fine, but in
any case this'd be an improvement for English.

> I'll clean-up the two thinkgs and post the result later.

OK, I'll await your patch before doing more here.

			regards, tom lane

В списке pgsql-hackers по дате отправления
От: Tom Lane
Дата:
От: David Steele
Дата:
FAQ