Re: [GENERAL] RE: [HACKERS] error messages not only English
От | Bruce Momjian |
---|---|
Тема | Re: [GENERAL] RE: [HACKERS] error messages not only English |
Дата | |
Msg-id | 199805261609.MAA13242@candle.pha.pa.us обсуждение исходный текст |
Ответ на | Re: [GENERAL] RE: [HACKERS] error messages not only English (Vadim Mikheev <vadim@krs.ru>) |
Ответы |
Re: [GENERAL] RE: [HACKERS] error messages not only English
|
Список | pgsql-hackers |
> > Peter Mount wrote: > > > > That sounds like a good idea. > > > > How about having them stored in a new system table (say pg_errormsg) which > > contains each possible error in all the supported languages. That way, you > > can have multiple language support when users from different countries use > > the same server? > > Yes, this is nice. One note: server have to load from this table all messages > in a language requested by user when switching to this language - it's not > possible to read any table from elog() in most cases. Error messages in a system table. That is cool, and would be very easy to add/maintain. Would have to be loaded into C variables for use, however. -- Bruce Momjian | 830 Blythe Avenue maillist@candle.pha.pa.us | Drexel Hill, Pennsylvania 19026 + If your life is a hard drive, | (610) 353-9879(w) + Christ can be your backup. | (610) 853-3000(h)
В списке pgsql-hackers по дате отправления: